|
From: Michael N. <mne...@us...> - 2002-07-03 20:06:28
|
Update of /cvsroot/ruby-dbi/src/lib/dbi/doc/html
In directory usw-pr-cvs1:/tmp/cvs-serv14150/html
Modified Files:
ChangeLog.html DBD_SPEC.html DBI_SPEC.html
Log Message:
*
Index: ChangeLog.html
===================================================================
RCS file: /cvsroot/ruby-dbi/src/lib/dbi/doc/html/ChangeLog.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog.html 21 May 2002 19:02:23 -0000 1.16
+++ ChangeLog.html 3 Jul 2002 20:06:26 -0000 1.17
@@ -9,7 +9,18 @@
</head>
<body>
<dl>
-<dt><a name="label:0" id="label:0">0.0.15 (2002-05-21)</a></dt><!-- RDLabel: "0.0.15 (2002-05-21)" -->
+<dt><a name="label:0" id="label:0">0.0.16 (2002-07-03)</a></dt><!-- RDLabel: "0.0.16 (2002-07-03)" -->
+</dl>
+<ul>
+<li>dbd_pg: Added Statement#fetch_scroll (patch by Stephen Davies).
</li>
+<li>dbi: Added StatementHandle#[] and #[]=. Updated DBI and DBD specs.
</li>
+<li>dbd_pg: Fixed semantic of method Statement#rows (affects also Database#do):
+ Now returns the Row Processed Count instead of the number of rows in the result.
+ The old behaviour is still available through method Statement#['pg_row_count'].
</li>
+<li>changed license from GNU GPL to BSD
</li>
+</ul>
+<dl>
+<dt><a name="label:1" id="label:1">0.0.15 (2002-05-21)</a></dt><!-- RDLabel: "0.0.15 (2002-05-21)" -->
</dl>
<ul>
<li>added example trace_test.rb
</li>
@@ -18,7 +29,7 @@
<li>dbd_mysql: added driver specific function insert_id applicable to DatabaseHandle objects
</li>
</ul>
<dl>
-<dt><a name="label:1" id="label:1">0.0.14 (2002-05-14)</a></dt><!-- RDLabel: "0.0.14 (2002-05-14)" -->
+<dt><a name="label:2" id="label:2">0.0.14 (2002-05-14)</a></dt><!-- RDLabel: "0.0.14 (2002-05-14)" -->
</dl>
<ul>
<li>dbd_mysql: fixed bug: method #do and #execute both set query_with_result of
@@ -28,7 +39,7 @@
F.Hranicky); increase performance of a factor around 100
</li>
</ul>
<dl>
-<dt><a name="label:2" id="label:2">0.0.13 (2002-04-16)</a></dt><!-- RDLabel: "0.0.13 (2002-04-16)" -->
+<dt><a name="label:3" id="label:3">0.0.13 (2002-04-16)</a></dt><!-- RDLabel: "0.0.13 (2002-04-16)" -->
</dl>
<ul>
<li>Moved project to SourceForge.
</li>
@@ -36,7 +47,7 @@
<li>dbd_proxy, proxyserver: upgraded to DBD API 0.2; fixed bug (Norbert Gawor)
</li>
</ul>
<dl>
-<dt><a name="label:3" id="label:3">0.0.12 (2001-12-28)</a></dt><!-- RDLabel: "0.0.12 (2001-12-28)" -->
+<dt><a name="label:4" id="label:4">0.0.12 (2001-12-28)</a></dt><!-- RDLabel: "0.0.12 (2001-12-28)" -->
</dl>
<ul>
<li>dbd_oracle: added Database#columns method
</li>
@@ -63,7 +74,7 @@
</ul></li>
</ul>
<dl>
-<dt><a name="label:4" id="label:4">0.0.11 (2001-11-14)</a></dt><!-- RDLabel: "0.0.11 (2001-11-14)" -->
+<dt><a name="label:5" id="label:5">0.0.11 (2001-11-14)</a></dt><!-- RDLabel: "0.0.11 (2001-11-14)" -->
</dl>
<ul>
<li>dbd_sqlite: new DBD for SQLite
</li>
@@ -81,7 +92,7 @@
<li>sqlsh.rb: added commands \dt (describe table), \s (select * from table) and \pl (page length).
</li>
</ul>
<dl>
-<dt><a name="label:5" id="label:5">0.0.10 (2001-10-22)</a></dt><!-- RDLabel: "0.0.10 (2001-10-22)" -->
+<dt><a name="label:6" id="label:6">0.0.10 (2001-10-22)</a></dt><!-- RDLabel: "0.0.10 (2001-10-22)" -->
</dl>
<ul>
<li>dbd_odbc: added odbc_ignorecase option (submitted by Sean O'Halpin), requires Ruby/ODBC 0.93
</li>
@@ -91,7 +102,7 @@
<li>dbd_mysql: added StatementHandle#fetch_scroll
</li>
</ul>
<dl>
-<dt><a name="label:6" id="label:6">0.0.9 (2001-09-07)</a></dt><!-- RDLabel: "0.0.9 (2001-09-07)" -->
+<dt><a name="label:7" id="label:7">0.0.9 (2001-09-07)</a></dt><!-- RDLabel: "0.0.9 (2001-09-07)" -->
</dl>
<ul>
<li>Fixed bug in sql.rb, method "quote" (gsub! => gsub). (thanks to Stephen Davies)
</li>
@@ -108,7 +119,7 @@
<li>fixed bug in utils.rb XMLFormatter.table (thanks to Jim Menard)
</li>
</ul>
<dl>
-<dt><a name="label:7" id="label:7">0.0.8 (2001-07-28)</a></dt><!-- RDLabel: "0.0.8 (2001-07-28)" -->
+<dt><a name="label:8" id="label:8">0.0.8 (2001-07-28)</a></dt><!-- RDLabel: "0.0.8 (2001-07-28)" -->
</dl>
<ul>
<li>fixed bug in DBI::Row (dup/clone did not work) (Jim Weirich)
</li>
@@ -116,13 +127,13 @@
<li>corrected quoting for Date, Time and Timestamp
</li>
</ul>
<dl>
-<dt><a name="label:8" id="label:8">0.0.7 (2001-07-11)</a></dt><!-- RDLabel: "0.0.7 (2001-07-11)" -->
+<dt><a name="label:9" id="label:9">0.0.7 (2001-07-11)</a></dt><!-- RDLabel: "0.0.7 (2001-07-11)" -->
</dl>
<ul>
<li>fixed bug in dbi.rb, which was newly introduced in 0.0.6
</li>
</ul>
<dl>
-<dt><a name="label:9" id="label:9">0.0.6 (2001-07-06)</a></dt><!-- RDLabel: "0.0.6 (2001-07-06)" -->
+<dt><a name="label:10" id="label:10">0.0.6 (2001-07-06)</a></dt><!-- RDLabel: "0.0.6 (2001-07-06)" -->
</dl>
<ul>
<li>added supports for dbi:DBD:database:host instead of dbi:DBD:database=aaa;host=bbb (John Gorman)
</li>
@@ -131,26 +142,26 @@
<li>fixed bug in dbi/sql.rb method bind.
</li>
</ul>
<dl>
-<dt><a name="label:10" id="label:10">0.0.5 (2001-06-09)</a></dt><!-- RDLabel: "0.0.5 (2001-06-09)" -->
+<dt><a name="label:11" id="label:11">0.0.5 (2001-06-09)</a></dt><!-- RDLabel: "0.0.5 (2001-06-09)" -->
</dl>
<ul>
<li>almost complete rewrite of DBI by Michael Neumann.
</li>
</ul>
<dl>
-<dt><a name="label:11" id="label:11">0.0.4 (2001-05-05)</a></dt><!-- RDLabel: "0.0.4 (2001-05-05)" -->
+<dt><a name="label:12" id="label:12">0.0.4 (2001-05-05)</a></dt><!-- RDLabel: "0.0.4 (2001-05-05)" -->
</dl>
<ul>
<li>based on Jim Weirich's suggestion, the drivers have been moved
into a new namespace: DBI::DBD::[driver]
</li>
</ul>
<dl>
-<dt><a name="label:12" id="label:12">0.0.3 (2001-04-28)</a></dt><!-- RDLabel: "0.0.3 (2001-04-28)" -->
+<dt><a name="label:13" id="label:13">0.0.3 (2001-04-28)</a></dt><!-- RDLabel: "0.0.3 (2001-04-28)" -->
</dl>
<ul>
<li>changed 'driver not found' error-message to something more generic
</li>
</ul>
<dl>
-<dt><a name="label:13" id="label:13">0.0.2</a></dt><!-- RDLabel: "0.0.2" -->
+<dt><a name="label:14" id="label:14">0.0.2</a></dt><!-- RDLabel: "0.0.2" -->
</dl>
<ul>
<li>initial release
</li>
Index: DBD_SPEC.html
===================================================================
RCS file: /cvsroot/ruby-dbi/src/lib/dbi/doc/html/DBD_SPEC.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- DBD_SPEC.html 21 May 2002 19:02:23 -0000 1.22
+++ DBD_SPEC.html 3 Jul 2002 20:06:26 -0000 1.23
@@ -8,7 +8,7 @@
<link href="rubyStyle.css" type="text/css" rel="stylesheet" />
</head>
<body>
-<h1><a name="label:0" id="label:0">DBD Specification Version 0.2 (Draft)</a></h1><!-- RDLabel: "DBD Specification Version 0.2 (Draft)" -->
+<h1><a name="label:0" id="label:0">DBD Specification Version 0.2.2 (Draft)</a></h1><!-- RDLabel: "DBD Specification Version 0.2.2 (Draft)" -->
<p>by Michael Neumann (ne...@s-...)</p>
<pre>$Id$</pre>
<h2><a name="label:1" id="label:1">DBD Directory Layout</a></h2><!-- RDLabel: "DBD Directory Layout" -->
@@ -146,7 +146,7 @@
<dd>
<p>Set value of attribute <em>attr</em> to <em>value</em>.
An attribute is e.g. "AutoCommit".
-Raise an NotSupportedError, if the database do not support an attribute.</p>
+Raise a NotSupportedError, if the database do not support an attribute.</p>
<p>The default implementation is to raise a NotSupportedError.</p></dd>
</dl>
<h2><a name="label:27" id="label:27">Class Statement</a></h2><!-- RDLabel: "Class Statement" -->
@@ -236,6 +236,15 @@
<p>Note: Unlike <code>fetch</code>, this method should return a new Array object.</p>
<p>Return <code>nil</code> if no rows are available.</p>
<p>Defaults to multiple calls to <code>fetch</code>.</p></dd>
+<dt><a name="label:41" id="label:41"><code>[ <var>attr</var> ]</code></a></dt><!-- RDLabel: "[]" -->
+<dd>
+<p>Return value of attribute <em>attr</em>.</p>
+<p>Defauls to return the value of <code>@attr[attr]</code>.</p></dd>
+<dt><a name="label:42" id="label:42"><code>[<var>attr</var>] = <var>value</var></code></a></dt><!-- RDLabel: "[]=" -->
+<dd>
+<p>Set value of attribute <em>attr</em> to <em>value</em>.
+Raise a NotSupportedError, if the database do not support an attribute.</p>
+<p>The default implementation is to raise a NotSupportedError.</p></dd>
</dl>
<hr />
<p class="foottext">
Index: DBI_SPEC.html
===================================================================
RCS file: /cvsroot/ruby-dbi/src/lib/dbi/doc/html/DBI_SPEC.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- DBI_SPEC.html 21 May 2002 19:02:23 -0000 1.22
+++ DBI_SPEC.html 3 Jul 2002 20:06:26 -0000 1.23
@@ -8,7 +8,7 @@
<link href="rubyStyle.css" type="text/css" rel="stylesheet" />
</head>
<body>
-<h1><a name="label:0" id="label:0">DBI Interface Specification Version 0.2.1 (Draft)</a></h1><!-- RDLabel: "DBI Interface Specification Version 0.2.1 (Draft)" -->
+<h1><a name="label:0" id="label:0">DBI Interface Specification Version 0.2.2 (Draft)</a></h1><!-- RDLabel: "DBI Interface Specification Version 0.2.2 (Draft)" -->
<p>by Michael Neumann (ne...@s-...)</p>
<pre>$Id$</pre>
<h2><a name="label:1" id="label:1">Module DBD</a></h2><!-- RDLabel: "Module DBD" -->
@@ -327,6 +327,10 @@
<p>Returns a <code>DBI::Row</code> object, if not possible, returns <code>nil</code>.</p>
<p>Note that the returned <code>DBI::Row</code> object is only a reference and
should be copied (dup) if it is stored elsewhere.</p></dd>
+<dt><a name="label:97" id="label:97"><code>[<var>attr</var>]</code></a><!-- RDLabel: "[]" -->
+<dt><a name="label:98" id="label:98"><code>[<var>attr</var>] = <var>val</var></code></a></dt><!-- RDLabel: "[]=" -->
+<dd>
+<p>Sets or gets the attribute <em>attr</em>.</p></dd>
</dl>
</body>
|