Bladeren bron

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

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@69435 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 8 jaren geleden
bovenliggende
commit
e33f62b7de
2 gewijzigde bestanden met toevoegingen van 18 en 11 verwijderingen
  1. 14 9
      db/db.connect/db.connect.html
  2. 4 2
      lib/db/sqlp/sql.html

+ 14 - 9
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>ODBC</h3>
 <h3>ODBC</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</h3>
 <h3>PostgreSQL</h3>
 
 
@@ -56,7 +58,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 with different port</h3>
 <h3>PostgreSQL with different port</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 (local connection)</h3>
 <h3>MySQL (local connection)</h3>
 
 
@@ -81,7 +83,8 @@ 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 (external server)</h3>
 <h3>MySQL (external server)</h3>
 
 
@@ -94,6 +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>
 
 
@@ -104,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>