Преглед изворни кода

db.connect+sql manual: link DB drivers (cosmetics)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69433 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa пре 8 година
родитељ
комит
aedd45ebf4
2 измењених фајлова са 18 додато и 12 уклоњено
  1. 14 10
      db/db.connect/db.connect.html
  2. 4 2
      lib/db/sqlp/sql.html

+ 14 - 10
db/db.connect/db.connect.html

@@ -4,7 +4,8 @@
 These parameters are then taken as default values by modules so that the
 These parameters are then taken as default values by modules so that the
 user does not need to enter the parameters each time.
 user does not need to enter the parameters each time.
 <p>
 <p>
-The default database backend in GRASS GIS 7 is SQLite.
+The default database backend in GRASS GIS 7
+is <a href="grass-sqlite.html">SQLite</a>.
 
 
 <h2>NOTES</h2>
 <h2>NOTES</h2>
 
 
@@ -14,8 +15,9 @@ the connection is not tested for validity.
 <p>The <b>-c</b> flag will silently check if the connection parameters have
 <p>The <b>-c</b> flag will silently check if the connection parameters have
 been set, and if not will set them to use GRASS's default values.
 been set, and if not will set them to use GRASS's default values.
 (useful in scripts before you attempt to create a new database table)
 (useful in scripts before you attempt to create a new database table)
-<p>To connect a vector map to a database table, use <em>v.db.connect</em>
-or <em>v.db.addtable</em>.
+<p>To connect a vector map to a database table,
+use <em><a href="v.db.connect.html">v.db.connect</a></em> or
+<em><a href="v.db.addtable.html">v.db.addtable</a></em>.
 
 
 
 
 <h2>EXAMPLES</h2>
 <h2>EXAMPLES</h2>
@@ -30,7 +32,7 @@ db.connect -p
 db.tables -p
 db.tables -p
 </pre></div>
 </pre></div>
 <p>The SQLite database file is created automatically when used the first time.
 <p>The SQLite database file is created automatically when used the first time.
-
+<p>See <a href="grass-sqlite.html">SQLite</a> database driver for details.
 
 
 <h3>PostgreSQL (local connection)</h3>
 <h3>PostgreSQL (local connection)</h3>
 
 
@@ -43,7 +45,7 @@ db.login user=myname pass=secret
 db.connect -p
 db.connect -p
 db.tables -p
 db.tables -p
 </pre></div>
 </pre></div>
-
+<p>See <a href="grass-pg.html">PostgreSQL</a> database driver for details.
 
 
 <h3>PostgreSQL (network connection)</h3>
 <h3>PostgreSQL (network connection)</h3>
 
 
@@ -56,7 +58,7 @@ db.login user=myname pass=secret host=myserver.com port=6666
 db.connect -p
 db.connect -p
 db.tables -p
 db.tables -p
 </pre></div>
 </pre></div>
-
+<p>See <a href="grass-pg.html">PostgreSQL</a> database driver for details.
 
 
 <h3>MySQL (local connection)</h3>
 <h3>MySQL (local connection)</h3>
 
 
@@ -69,7 +71,7 @@ db.login user=myname pass=secret
 db.connect -p
 db.connect -p
 db.tables -p
 db.tables -p
 </pre></div>
 </pre></div>
-
+<p>See <a href="grass-mysql.html">MySQL</a> database driver for details.
 
 
 <h3>MySQL (network connection)</h3>
 <h3>MySQL (network connection)</h3>
 
 
@@ -82,7 +84,8 @@ db.login user=myname pass=secret host=myserver.com
 db.connect -p
 db.connect -p
 db.tables -p
 db.tables -p
 </pre></div>
 </pre></div>
-
+<p>See <a href="grass-mysql.html">MySQL</a> database driver for details.
+  
 <h3>ODBC</h3>
 <h3>ODBC</h3>
 
 
 Network storage, database tables stored in database "mydb"
 Network storage, database tables stored in database "mydb"
@@ -94,7 +97,7 @@ db.login user=myname pass=secret
 db.connect -p
 db.connect -p
 db.tables -p
 db.tables -p
 </pre></div>
 </pre></div>
-
+<p>See <a href="grass-odbc.html">ODBC</a> database driver for details.
 
 
 <h3>DBF (local, not recommended)</h3>
 <h3>DBF (local, not recommended)</h3>
 
 
@@ -105,7 +108,8 @@ created by the user):
 db.connect driver=dbf database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/'
 db.connect driver=dbf database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/'
 db.tables -p
 db.tables -p
 </pre></div>
 </pre></div>
-
+<p>See <a href="grass-dbf.html">DBF</a> database driver for details.
+  
 <h2>SEE ALSO</h2>
 <h2>SEE ALSO</h2>
 
 
 <em>
 <em>

+ 4 - 2
lib/db/sqlp/sql.html

@@ -186,7 +186,7 @@ d.vect roads where="cat&gt;exprtest"
 
 
 <h3>Example of changing a SQL type (type casting)</h3>
 <h3>Example of changing a SQL type (type casting)</h3>
 
 
-<i>Note: not supported for DBF driver.</i>
+<i>Note: not supported for <a href="grass-dbf.html">DBF driver</a>.</i>
 <p>
 <p>
 North Carolina data set: convert string column to double precision:
 North Carolina data set: convert string column to double precision:
 <p>
 <p>
@@ -203,7 +203,7 @@ v.db.update mygeodetic_pts col=zval \
 
 
 <h3>Example of concatenation of fields</h3>
 <h3>Example of concatenation of fields</h3>
 
 
-<i>Note: not supported for DBF driver.</i>
+<i>Note: not supported for <a href="grass-dbf.html">DBF driver</a>.</i>
 
 
 <div class="code"><pre>
 <div class="code"><pre>
 v.db.update vectormap column=column3 qcolumn="column1 || column2"
 v.db.update vectormap column=column3 qcolumn="column1 || column2"
@@ -224,8 +224,10 @@ v.db.update vectormap column=species qcolumn="CASE WHEN col1 &gt;= 1 THEN cat WH
 <h2>SEE ALSO</h2>
 <h2>SEE ALSO</h2>
 
 
 <em>
 <em>
+<a href="db.connect.html">db.connect</a>,
 <a href="db.select.html">db.select</a>,
 <a href="db.select.html">db.select</a>,
 <a href="db.execute.html">db.execute</a>,
 <a href="db.execute.html">db.execute</a>,
+<a href="v.db.connect.html">v.db.connect</a>,
 <a href="v.db.select.html">v.db.select</a>,
 <a href="v.db.select.html">v.db.select</a>,
 <a href="v.db.update.html">v.db.update</a>
 <a href="v.db.update.html">v.db.update</a>
 </em>
 </em>