fireruby 0.1.0-powerpc-darwin → 0.2.0-powerpc-darwin
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/README +297 -31
- data/examples/example01.rb +60 -0
- data/lib/doc.tar.gz +0 -0
- data/lib/fireruby.bundle +0 -0
- data/lib/mkdoc +1 -1
- data/lib/src.rb +158 -15
- data/test/ConnectionTest.rb +11 -10
- data/test/DDLTest.rb +7 -6
- data/test/DatabaseTest.rb +13 -14
- data/test/GeneratorTest.rb +4 -3
- data/test/ResultSetTest.rb +6 -5
- data/test/RowTest.rb +49 -0
- data/test/SQLTest.rb +43 -26
- data/test/StatementTest.rb +6 -5
- data/test/TransactionTest.rb +7 -6
- data/test/UnitTest.rb +1 -0
- metadata +11 -135
- data/doc/CVS/Entries +0 -10
- data/doc/CVS/Repository +0 -1
- data/doc/CVS/Root +0 -1
- data/doc/classes/CVS/Entries +0 -2
- data/doc/classes/CVS/Entries.Log +0 -1
- data/doc/classes/CVS/Repository +0 -1
- data/doc/classes/CVS/Root +0 -1
- data/doc/classes/FireRuby/CVS/Entries +0 -8
- data/doc/classes/FireRuby/CVS/Entries.Log +0 -7
- data/doc/classes/FireRuby/CVS/Repository +0 -1
- data/doc/classes/FireRuby/CVS/Root +0 -1
- data/doc/classes/FireRuby/Connection.html +0 -364
- data/doc/classes/FireRuby/Connection.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/Connection.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Connection.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Connection.src/M000046.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000047.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000048.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000049.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000050.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000051.html +0 -17
- data/doc/classes/FireRuby/Connection.src/M000052.html +0 -18
- data/doc/classes/FireRuby/Connection.src/M000053.html +0 -18
- data/doc/classes/FireRuby/Connection.src/M000054.html +0 -18
- data/doc/classes/FireRuby/Database.html +0 -292
- data/doc/classes/FireRuby/Database.src/CVS/Entries +0 -7
- data/doc/classes/FireRuby/Database.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Database.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Database.src/M000035.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000036.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000037.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000038.html +0 -18
- data/doc/classes/FireRuby/Database.src/M000039.html +0 -17
- data/doc/classes/FireRuby/Database.src/M000040.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.html +0 -221
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Entries +0 -6
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/FireRubyError.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/FireRubyError.src/M000041.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000042.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000043.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000044.html +0 -17
- data/doc/classes/FireRuby/FireRubyError.src/M000045.html +0 -17
- data/doc/classes/FireRuby/Generator.html +0 -343
- data/doc/classes/FireRuby/Generator.src/CVS/Entries +0 -9
- data/doc/classes/FireRuby/Generator.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Generator.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Generator.src/M000001.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000002.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000003.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000004.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000005.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000006.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000007.html +0 -17
- data/doc/classes/FireRuby/Generator.src/M000008.html +0 -17
- data/doc/classes/FireRuby/ResultSet.html +0 -343
- data/doc/classes/FireRuby/ResultSet.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/ResultSet.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/ResultSet.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/ResultSet.src/M000026.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000027.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000028.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000029.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000030.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000031.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000032.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000033.html +0 -17
- data/doc/classes/FireRuby/ResultSet.src/M000034.html +0 -17
- data/doc/classes/FireRuby/Statement.html +0 -349
- data/doc/classes/FireRuby/Statement.src/CVS/Entries +0 -10
- data/doc/classes/FireRuby/Statement.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Statement.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Statement.src/M000017.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000018.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000019.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000020.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000021.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000022.html +0 -17
- data/doc/classes/FireRuby/Statement.src/M000023.html +0 -18
- data/doc/classes/FireRuby/Statement.src/M000024.html +0 -18
- data/doc/classes/FireRuby/Statement.src/M000025.html +0 -17
- data/doc/classes/FireRuby/Transaction.html +0 -484
- data/doc/classes/FireRuby/Transaction.src/CVS/Entries +0 -9
- data/doc/classes/FireRuby/Transaction.src/CVS/Repository +0 -1
- data/doc/classes/FireRuby/Transaction.src/CVS/Root +0 -1
- data/doc/classes/FireRuby/Transaction.src/M000009.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000010.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000011.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000012.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000013.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000014.html +0 -17
- data/doc/classes/FireRuby/Transaction.src/M000015.html +0 -18
- data/doc/classes/FireRuby/Transaction.src/M000016.html +0 -17
- data/doc/classes/FireRuby.html +0 -116
- data/doc/created.rid +0 -1
- data/doc/files/CVS/Entries +0 -2
- data/doc/files/CVS/Repository +0 -1
- data/doc/files/CVS/Root +0 -1
- data/doc/files/src_rb.html +0 -119
- data/doc/fr_class_index.html +0 -34
- data/doc/fr_file_index.html +0 -27
- data/doc/fr_method_index.html +0 -80
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -175
- data/test/example.c +0 -91
- data/test/fb.c +0 -297
- data/test/mfb +0 -1
- data/test/sql_unit_test.fdb +0 -0
- data/test/test.fdb +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (FireRuby::Generator)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 645</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">connection</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>name (FireRuby::Generator)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 652</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">name</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>connection (FireRuby::Generator)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 659</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">connection</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>last (FireRuby::Generator)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 670</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>drop (FireRuby::Generator)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 683</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">drop</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>next (FireRuby::Generator)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 699</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">next</span>(<span class="ruby-identifier">step</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>exists? (FireRuby::Generator)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 716</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Generator</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">connection</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>create (FireRuby::Generator)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 733</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Generator</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">connection</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,343 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: FireRuby::ResultSet</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<h1>FireRuby::ResultSet <sup class="type-note">(Class)</sup></h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>In:</strong></td>
|
54
|
-
<td>
|
55
|
-
<a href="../../files/src_rb.html">
|
56
|
-
src.rb
|
57
|
-
</a>
|
58
|
-
<br />
|
59
|
-
</td>
|
60
|
-
</tr>
|
61
|
-
|
62
|
-
<tr class="top-aligned-row">
|
63
|
-
<td><strong>Parent:</strong></td>
|
64
|
-
<td>
|
65
|
-
Object
|
66
|
-
</td>
|
67
|
-
</tr>
|
68
|
-
</table>
|
69
|
-
</div>
|
70
|
-
<!-- banner header -->
|
71
|
-
|
72
|
-
<div id="bodyContent">
|
73
|
-
|
74
|
-
|
75
|
-
<div id="contextContent">
|
76
|
-
|
77
|
-
<div id="description">
|
78
|
-
<p>
|
79
|
-
This class represents the results of a SQL query executed against a
|
80
|
-
database.
|
81
|
-
</p>
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
|
86
|
-
<div id="method-list">
|
87
|
-
<h2 class="section-bar">Methods</h2>
|
88
|
-
|
89
|
-
<div class="name-list">
|
90
|
-
<a href="#M000034">close</a>
|
91
|
-
<a href="#M000030">column_alias</a>
|
92
|
-
<a href="#M000028">column_count</a>
|
93
|
-
<a href="#M000029">column_name</a>
|
94
|
-
<a href="#M000031">column_table</a>
|
95
|
-
<a href="#M000033">each</a>
|
96
|
-
<a href="#M000032">fetch</a>
|
97
|
-
<a href="#M000026">new</a>
|
98
|
-
<a href="#M000027">statement</a>
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
</div>
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
<!-- if includes -->
|
112
|
-
|
113
|
-
|
114
|
-
<!-- if method_list -->
|
115
|
-
<div id="methods">
|
116
|
-
<h2 class="section-bar">Public Class methods</h2>
|
117
|
-
|
118
|
-
<div id="method-M000026" class="method-detail">
|
119
|
-
<a name="M000026"></a>
|
120
|
-
|
121
|
-
<div class="method-heading">
|
122
|
-
<a href="ResultSet.src/M000026.html" target="Code" class="method-signature"
|
123
|
-
onclick="popupCode('ResultSet.src/M000026.html');return false;">
|
124
|
-
<span class="method-name">new</span><span class="method-args">(statement)</span>
|
125
|
-
</a>
|
126
|
-
</div>
|
127
|
-
|
128
|
-
<div class="method-description">
|
129
|
-
<p>
|
130
|
-
This is the constructor for the <a href="ResultSet.html">ResultSet</a>
|
131
|
-
object.
|
132
|
-
</p>
|
133
|
-
<h4>Parameters</h4>
|
134
|
-
<table>
|
135
|
-
<tr><td valign="top">statement:</td><td>A reference to the <a href="Statement.html">Statement</a> object that the
|
136
|
-
<a href="ResultSet.html">ResultSet</a> will be based on.
|
137
|
-
|
138
|
-
</td></tr>
|
139
|
-
</table>
|
140
|
-
</div>
|
141
|
-
</div>
|
142
|
-
|
143
|
-
<h2 class="section-bar">Public Instance methods</h2>
|
144
|
-
|
145
|
-
<div id="method-M000034" class="method-detail">
|
146
|
-
<a name="M000034"></a>
|
147
|
-
|
148
|
-
<div class="method-heading">
|
149
|
-
<a href="ResultSet.src/M000034.html" target="Code" class="method-signature"
|
150
|
-
onclick="popupCode('ResultSet.src/M000034.html');return false;">
|
151
|
-
<span class="method-name">close</span><span class="method-args">()</span>
|
152
|
-
</a>
|
153
|
-
</div>
|
154
|
-
|
155
|
-
<div class="method-description">
|
156
|
-
<p>
|
157
|
-
This method releases the database resources associated with a <a
|
158
|
-
href="ResultSet.html">ResultSet</a> object and should be explicitly called
|
159
|
-
when a <a href="ResultSet.html">ResultSet</a> object is of no further use.
|
160
|
-
The method is implicitly called if the rows available from a <a
|
161
|
-
href="ResultSet.html">ResultSet</a> are exhausted but calling this method
|
162
|
-
at that time will not cause an error.
|
163
|
-
</p>
|
164
|
-
<h4>Exceptions</h4>
|
165
|
-
<table>
|
166
|
-
<tr><td valign="top"><a href="FireRubyError.html">FireRubyError</a>:</td><td>Generated whenever a problem occurs closing the result set object.
|
167
|
-
|
168
|
-
</td></tr>
|
169
|
-
</table>
|
170
|
-
</div>
|
171
|
-
</div>
|
172
|
-
|
173
|
-
<div id="method-M000030" class="method-detail">
|
174
|
-
<a name="M000030"></a>
|
175
|
-
|
176
|
-
<div class="method-heading">
|
177
|
-
<a href="ResultSet.src/M000030.html" target="Code" class="method-signature"
|
178
|
-
onclick="popupCode('ResultSet.src/M000030.html');return false;">
|
179
|
-
<span class="method-name">column_alias</span><span class="method-args">(column)</span>
|
180
|
-
</a>
|
181
|
-
</div>
|
182
|
-
|
183
|
-
<div class="method-description">
|
184
|
-
<p>
|
185
|
-
This method fetches the alias associated with a specified column for a <a
|
186
|
-
href="ResultSet.html">ResultSet</a> object.
|
187
|
-
</p>
|
188
|
-
<h4>Parameters</h4>
|
189
|
-
<table>
|
190
|
-
<tr><td valign="top">column:</td><td>A reference to the column number to fetch the details for. Column numbers
|
191
|
-
start at zero.
|
192
|
-
|
193
|
-
</td></tr>
|
194
|
-
</table>
|
195
|
-
</div>
|
196
|
-
</div>
|
197
|
-
|
198
|
-
<div id="method-M000028" class="method-detail">
|
199
|
-
<a name="M000028"></a>
|
200
|
-
|
201
|
-
<div class="method-heading">
|
202
|
-
<a href="ResultSet.src/M000028.html" target="Code" class="method-signature"
|
203
|
-
onclick="popupCode('ResultSet.src/M000028.html');return false;">
|
204
|
-
<span class="method-name">column_count</span><span class="method-args">()</span>
|
205
|
-
</a>
|
206
|
-
</div>
|
207
|
-
|
208
|
-
<div class="method-description">
|
209
|
-
<p>
|
210
|
-
This method fetches a count of the number of columns in a row of data that
|
211
|
-
the <a href="ResultSet.html">ResultSet</a> can fetch.
|
212
|
-
</p>
|
213
|
-
</div>
|
214
|
-
</div>
|
215
|
-
|
216
|
-
<div id="method-M000029" class="method-detail">
|
217
|
-
<a name="M000029"></a>
|
218
|
-
|
219
|
-
<div class="method-heading">
|
220
|
-
<a href="ResultSet.src/M000029.html" target="Code" class="method-signature"
|
221
|
-
onclick="popupCode('ResultSet.src/M000029.html');return false;">
|
222
|
-
<span class="method-name">column_name</span><span class="method-args">(column)</span>
|
223
|
-
</a>
|
224
|
-
</div>
|
225
|
-
|
226
|
-
<div class="method-description">
|
227
|
-
<p>
|
228
|
-
This method fetches the name associated with a specified column for a <a
|
229
|
-
href="ResultSet.html">ResultSet</a> object.
|
230
|
-
</p>
|
231
|
-
<h4>Parameters</h4>
|
232
|
-
<table>
|
233
|
-
<tr><td valign="top">column:</td><td>A reference to the column number to fetch the details for. Column numbers
|
234
|
-
start at zero.
|
235
|
-
|
236
|
-
</td></tr>
|
237
|
-
</table>
|
238
|
-
</div>
|
239
|
-
</div>
|
240
|
-
|
241
|
-
<div id="method-M000031" class="method-detail">
|
242
|
-
<a name="M000031"></a>
|
243
|
-
|
244
|
-
<div class="method-heading">
|
245
|
-
<a href="ResultSet.src/M000031.html" target="Code" class="method-signature"
|
246
|
-
onclick="popupCode('ResultSet.src/M000031.html');return false;">
|
247
|
-
<span class="method-name">column_table</span><span class="method-args">(column)</span>
|
248
|
-
</a>
|
249
|
-
</div>
|
250
|
-
|
251
|
-
<div class="method-description">
|
252
|
-
<p>
|
253
|
-
This method fetches the table name associated with a specified column for a
|
254
|
-
<a href="ResultSet.html">ResultSet</a> object.
|
255
|
-
</p>
|
256
|
-
<h4>Parameters</h4>
|
257
|
-
<table>
|
258
|
-
<tr><td valign="top">column:</td><td>A reference to the column number to fetch the details for. Column numbers
|
259
|
-
start at zero.
|
260
|
-
|
261
|
-
</td></tr>
|
262
|
-
</table>
|
263
|
-
</div>
|
264
|
-
</div>
|
265
|
-
|
266
|
-
<div id="method-M000033" class="method-detail">
|
267
|
-
<a name="M000033"></a>
|
268
|
-
|
269
|
-
<div class="method-heading">
|
270
|
-
<a href="ResultSet.src/M000033.html" target="Code" class="method-signature"
|
271
|
-
onclick="popupCode('ResultSet.src/M000033.html');return false;">
|
272
|
-
<span class="method-name">each</span><span class="method-args">(&block)</span>
|
273
|
-
</a>
|
274
|
-
</div>
|
275
|
-
|
276
|
-
<div class="method-description">
|
277
|
-
<p>
|
278
|
-
This method provides an iterator for the (remaining) rows contained in a <a
|
279
|
-
href="ResultSet.html">ResultSet</a> object.
|
280
|
-
</p>
|
281
|
-
<h4>Parameters</h4>
|
282
|
-
<table>
|
283
|
-
<tr><td valign="top">block:</td><td>A block that takes a single parameter. This will be called for and passed
|
284
|
-
each remaining row (as per the fetch method) from the <a
|
285
|
-
href="ResultSet.html">ResultSet</a>.
|
286
|
-
|
287
|
-
</td></tr>
|
288
|
-
</table>
|
289
|
-
</div>
|
290
|
-
</div>
|
291
|
-
|
292
|
-
<div id="method-M000032" class="method-detail">
|
293
|
-
<a name="M000032"></a>
|
294
|
-
|
295
|
-
<div class="method-heading">
|
296
|
-
<a href="ResultSet.src/M000032.html" target="Code" class="method-signature"
|
297
|
-
onclick="popupCode('ResultSet.src/M000032.html');return false;">
|
298
|
-
<span class="method-name">fetch</span><span class="method-args">()</span>
|
299
|
-
</a>
|
300
|
-
</div>
|
301
|
-
|
302
|
-
<div class="method-description">
|
303
|
-
<p>
|
304
|
-
This method fetches a single rows worth of data from the <a
|
305
|
-
href="ResultSet.html">ResultSet</a> object. If the set contains more rows
|
306
|
-
then an array containing the row data will be retrieved. If the <a
|
307
|
-
href="ResultSet.html">ResultSet</a> is exhausted (i.e. all rows have been
|
308
|
-
fetched) then nil is returned. Translation of the row data into an
|
309
|
-
appropriate Ruby type is performed on the row data that is extracted.
|
310
|
-
</p>
|
311
|
-
</div>
|
312
|
-
</div>
|
313
|
-
|
314
|
-
<div id="method-M000027" class="method-detail">
|
315
|
-
<a name="M000027"></a>
|
316
|
-
|
317
|
-
<div class="method-heading">
|
318
|
-
<a href="ResultSet.src/M000027.html" target="Code" class="method-signature"
|
319
|
-
onclick="popupCode('ResultSet.src/M000027.html');return false;">
|
320
|
-
<span class="method-name">statement</span><span class="method-args">()</span>
|
321
|
-
</a>
|
322
|
-
</div>
|
323
|
-
|
324
|
-
<div class="method-description">
|
325
|
-
<p>
|
326
|
-
This is the accessor for the statement attribute.
|
327
|
-
</p>
|
328
|
-
</div>
|
329
|
-
</div>
|
330
|
-
|
331
|
-
|
332
|
-
</div>
|
333
|
-
|
334
|
-
|
335
|
-
</div>
|
336
|
-
|
337
|
-
|
338
|
-
<div id="validator-badges">
|
339
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
340
|
-
</div>
|
341
|
-
|
342
|
-
</body>
|
343
|
-
</html>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/M000026.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
2
|
-
/M000027.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
3
|
-
/M000028.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
4
|
-
/M000029.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
5
|
-
/M000030.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
6
|
-
/M000031.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
7
|
-
/M000032.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
8
|
-
/M000033.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
9
|
-
/M000034.html/1.1.1.1/Tue Mar 15 10:36:22 2005//
|
10
|
-
D
|
@@ -1 +0,0 @@
|
|
1
|
-
/var/cvs/fireruby/fireruby/doc/classes/FireRuby/ResultSet.src
|
@@ -1 +0,0 @@
|
|
1
|
-
:ext:paw220470@rubyforge.org:/var/cvs/fireruby
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (FireRuby::ResultSet)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 535</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">statement</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>statement (FireRuby::ResultSet)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 542</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">statement</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>column_count (FireRuby::ResultSet)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 550</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column_count</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>column_name (FireRuby::ResultSet)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 562</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column_name</span>(<span class="ruby-identifier">column</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>column_alias (FireRuby::ResultSet)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 574</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column_alias</span>(<span class="ruby-identifier">column</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>column_table (FireRuby::ResultSet)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 586</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column_table</span>(<span class="ruby-identifier">column</span>)
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>fetch (FireRuby::ResultSet)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File src.rb, line 598</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fetch</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|