Index: openacs-4/packages/acs-core-docs/www/tutorial-second-database.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-second-database.adp,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-core-docs/www/tutorial-second-database.adp 23 Sep 2015 11:55:01 -0000 1.1.2.1 +++ openacs-4/packages/acs-core-docs/www/tutorial-second-database.adp 23 Jun 2016 08:32:46 -0000 1.1.2.2 @@ -72,8 +72,9 @@
To use the legacy database, use the -dbn
flag for any of the db_
API calls. For example, suppose there is a table
-called "foo" in the legacy system, with a field "bar". List "bar"
-for all records with this tcl file:
+called "foo" in the legacy system, with a field +"bar". List "bar" for all records with this tcl +file:db_foreach -dbn legacy get_bar_query { select bar from foo limit 10