|
From: Michael N. <mne...@us...> - 2002-07-03 20:08:35
|
Update of /cvsroot/ruby-dbi/src/doc/html In directory usw-pr-cvs1:/tmp/cvs-serv14809/html Modified Files: index.html Log Message: * Index: index.html =================================================================== RCS file: /cvsroot/ruby-dbi/src/doc/html/index.html,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- index.html 3 Jul 2002 16:51:49 -0000 1.23 +++ index.html 3 Jul 2002 20:08:32 -0000 1.24 @@ -86,8 +86,12 @@ <p>Patch for DBD Pg (cache PGResult#result in Tuples) which increases performance by a factor around 100</p> </dd> +<dt><a name="label:14" id="label:14">Stephen Davies</a></dt><!-- RDLabel: "Stephen Davies" --> +<dd> +<p>Added method Statement#fetch_scroll for PostgreSQL DBD.</p> +</dd> </dl> -<h2><a name="label:14" id="label:14">Database Drivers (DBDs)</a></h2><!-- RDLabel: "Database Drivers (DBDs)" --> +<h2><a name="label:15" id="label:15">Database Drivers (DBDs)</a></h2><!-- RDLabel: "Database Drivers (DBDs)" --> <ul> <li><p>ADO (ActiveX Data Objects) <em>(dbd_ado)</em></p> <p>depend on WinOLE from RAA.</p></li> @@ -118,46 +122,46 @@ <li><p>Sybase <em>(dbd_sybase)</em></p> <p>this DBD is currently outdated and will <em>not</em> work with DBI versions > 0.0.4 !!! </p></li> </ul> -<h2><a name="label:15" id="label:15">ChangeLog</a></h2><!-- RDLabel: "ChangeLog" --> +<h2><a name="label:16" id="label:16">ChangeLog</a></h2><!-- RDLabel: "ChangeLog" --> <p>See <a href="http://ruby-dbi.sourceforge.net/ChangeLog.html"><URL:http://ruby-dbi.sourceforge.net/ChangeLog.html></a>.</p> -<h2><a name="label:16" id="label:16">ToDo</a></h2><!-- RDLabel: "ToDo" --> +<h2><a name="label:17" id="label:17">ToDo</a></h2><!-- RDLabel: "ToDo" --> <p>See <a href="http://ruby-dbi.sourceforge.net/ToDo.html"><URL:http://ruby-dbi.sourceforge.net/ToDo.html></a>.</p> -<h2><a name="label:17" id="label:17">Download</a></h2><!-- RDLabel: "Download" --> +<h2><a name="label:18" id="label:18">Download</a></h2><!-- RDLabel: "Download" --> <p>Ruby/DBI is available for from the <a href="http://sourceforge.net/project/showfiles.php?group_id=43737">SourceForge project page</a>.</p> <p>If you're running FreeBSD or NetBSD, have a look at their package collections. FreeBSD has for DBI and each DBD an easy to install package, NetBSD currently only for PostgreSQL but more is to come.</p> <p>A NetBSD package for MySQL is available at <a href="http://www.fantasy-coders.de/ruby/ruby-mysql-2.4.tar.gz"><URL:http://www.fantasy-coders.de/ruby/ruby-mysql-2.4.tar.gz></a>.</p> -<h2><a name="label:18" id="label:18">Installation</a></h2><!-- RDLabel: "Installation" --> +<h2><a name="label:19" id="label:19">Installation</a></h2><!-- RDLabel: "Installation" --> <p>All available DBDs come with this package, but you should only install the DBDs you really need.</p> -<h3><a name="label:19" id="label:19">To install all:</a></h3><!-- RDLabel: "To install all:" --> +<h3><a name="label:20" id="label:20">To install all:</a></h3><!-- RDLabel: "To install all:" --> <pre>ruby setup.rb config ruby setup.rb setup ruby setup.rb install</pre> -<h3><a name="label:20" id="label:20">To install dbi and some DBDs:</a></h3><!-- RDLabel: "To install dbi and some DBDs:" --> +<h3><a name="label:21" id="label:21">To install dbi and some DBDs:</a></h3><!-- RDLabel: "To install dbi and some DBDs:" --> <pre>ruby setup.rb config --with=dbi,dbd_pg.... ruby setup.rb setup ruby setup.rb install</pre> <p>Choose the packages to install by specifing them after the option <code>--with</code>.</p> -<h2><a name="label:21" id="label:21">Mailing List</a></h2><!-- RDLabel: "Mailing List" --> +<h2><a name="label:22" id="label:22">Mailing List</a></h2><!-- RDLabel: "Mailing List" --> <p>A mailinglist for DBI-specific discussions is available from the <a href="http://sourceforge.net/projects/ruby-dbi">SourceForge project page</a>.</p> <p>Our former mailing-list was at <a href="http://groups.yahoo.com/group/ruby-dbi-talk"><URL:http://groups.yahoo.com/group/ruby-dbi-talk></a>; please, don't use it!</p> -<h2><a name="label:22" id="label:22">Documentation</a></h2><!-- RDLabel: "Documentation" --> +<h2><a name="label:23" id="label:23">Documentation</a></h2><!-- RDLabel: "Documentation" --> <p>See the directories lib/*/doc or ext/*/doc for DBI and DBD specific informations.</p> <p>The DBI specification is lib/dbi/doc/DBI_SPEC or lib/dbi/doc/html/DBI_SPEC.html or available from WWW at <a href="http://ruby-dbi.sourceforge.net/DBI_SPEC.html"><URL:http://ruby-dbi.sourceforge.net/DBI_SPEC.html></a>.</p> <p>The DBD specification (how to write a database driver) is lib/dbi/doc/DBD_SPEC or lib/dbi/doc/html/DBD_SPEC.html or available from WWW at <a href="http://ruby-dbi.sourceforge.net/DBD_SPEC.html"><URL:http://ruby-dbi.sourceforge.net/DBD_SPEC.html></a>.</p> -<h2><a name="label:23" id="label:23">Applications</a></h2><!-- RDLabel: "Applications" --> -<h3><a name="label:24" id="label:24">sqlsh.rb</a></h3><!-- RDLabel: "sqlsh.rb" --> +<h2><a name="label:24" id="label:24">Applications</a></h2><!-- RDLabel: "Applications" --> +<h3><a name="label:25" id="label:25">sqlsh.rb</a></h3><!-- RDLabel: "sqlsh.rb" --> <p>The SQL command line interpreter sqlsh.rb is available in directory bin/commandline. It gets installed by default.</p> -<h2><a name="label:25" id="label:25">Examples</a></h2><!-- RDLabel: "Examples" --> +<h2><a name="label:26" id="label:26">Examples</a></h2><!-- RDLabel: "Examples" --> <p>Examples can be found in the examples/ subdirectory. In this directory there is the file proxyserver.rb which has to be run if you use the DBD::Proxy, to access databases remote over a TCP/IP network. </p> -<h3><a name="label:26" id="label:26">A simple example</a></h3><!-- RDLabel: "A simple example" --> +<h3><a name="label:27" id="label:27">A simple example</a></h3><!-- RDLabel: "A simple example" --> <pre>require 'dbi' # connect to a datbase @@ -181,7 +185,7 @@ dbh.do('delete from simple01 where internal_id > 10') dbh.disconnect</pre> -<h3><a name="label:27" id="label:27">The same using Ruby's features</a></h3><!-- RDLabel: "The same using Ruby's features" --> +<h3><a name="label:28" id="label:28">The same using Ruby's features</a></h3><!-- RDLabel: "The same using Ruby's features" --> <pre>require 'dbi' DBI.connect('DBI:Mysql:test', 'testuser', 'testpwd') do | dbh | |