fireruby 0.1.0-mswin32 → 0.2.0-mswin32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/fireruby.so +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,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>each (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 611</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</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>close (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 626</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,349 +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::Statement</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::Statement <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 a prepared SQL statement that may be executed more
|
80
|
-
than once.
|
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="#M000025">close</a>
|
91
|
-
<a href="#M000018">connection</a>
|
92
|
-
<a href="#M000021">dialect</a>
|
93
|
-
<a href="#M000023">execute</a>
|
94
|
-
<a href="#M000024">execute_for</a>
|
95
|
-
<a href="#M000022">is_query?</a>
|
96
|
-
<a href="#M000017">new</a>
|
97
|
-
<a href="#M000020">sql</a>
|
98
|
-
<a href="#M000019">transaction</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-M000017" class="method-detail">
|
119
|
-
<a name="M000017"></a>
|
120
|
-
|
121
|
-
<div class="method-heading">
|
122
|
-
<a href="Statement.src/M000017.html" target="Code" class="method-signature"
|
123
|
-
onclick="popupCode('Statement.src/M000017.html');return false;">
|
124
|
-
<span class="method-name">new</span><span class="method-args">(connection, transaction, sql, dialect)</span>
|
125
|
-
</a>
|
126
|
-
</div>
|
127
|
-
|
128
|
-
<div class="method-description">
|
129
|
-
<p>
|
130
|
-
This is the constructor for the <a href="Statement.html">Statement</a>
|
131
|
-
class.
|
132
|
-
</p>
|
133
|
-
<h4>Parameters</h4>
|
134
|
-
<table>
|
135
|
-
<tr><td valign="top">connection:</td><td>The <a href="Connection.html">Connection</a> object that the SQL statement
|
136
|
-
will be executed through.
|
137
|
-
|
138
|
-
</td></tr>
|
139
|
-
<tr><td valign="top">transaction:</td><td>The <a href="Transaction.html">Transaction</a> object that the SQL
|
140
|
-
statement will be executed under.
|
141
|
-
|
142
|
-
</td></tr>
|
143
|
-
<tr><td valign="top">sql:</td><td>The SQL statement to be prepared for execution.
|
144
|
-
|
145
|
-
</td></tr>
|
146
|
-
<tr><td valign="top">dialect:</td><td>The Firebird dialect to be used in preparing the SQL statement.
|
147
|
-
|
148
|
-
</td></tr>
|
149
|
-
</table>
|
150
|
-
</div>
|
151
|
-
</div>
|
152
|
-
|
153
|
-
<h2 class="section-bar">Public Instance methods</h2>
|
154
|
-
|
155
|
-
<div id="method-M000025" class="method-detail">
|
156
|
-
<a name="M000025"></a>
|
157
|
-
|
158
|
-
<div class="method-heading">
|
159
|
-
<a href="Statement.src/M000025.html" target="Code" class="method-signature"
|
160
|
-
onclick="popupCode('Statement.src/M000025.html');return false;">
|
161
|
-
<span class="method-name">close</span><span class="method-args">()</span>
|
162
|
-
</a>
|
163
|
-
</div>
|
164
|
-
|
165
|
-
<div class="method-description">
|
166
|
-
<p>
|
167
|
-
This method releases the database resources associated with a <a
|
168
|
-
href="Statement.html">Statement</a> object and should be explicitly called
|
169
|
-
when a <a href="Statement.html">Statement</a> object is of no further use.
|
170
|
-
</p>
|
171
|
-
<h4>Exceptions</h4>
|
172
|
-
<table>
|
173
|
-
<tr><td valign="top"><a href="FireRubyError.html">FireRubyError</a>:</td><td>Generated whenever a problem occurs closing the statement object.
|
174
|
-
|
175
|
-
</td></tr>
|
176
|
-
</table>
|
177
|
-
</div>
|
178
|
-
</div>
|
179
|
-
|
180
|
-
<div id="method-M000018" class="method-detail">
|
181
|
-
<a name="M000018"></a>
|
182
|
-
|
183
|
-
<div class="method-heading">
|
184
|
-
<a href="Statement.src/M000018.html" target="Code" class="method-signature"
|
185
|
-
onclick="popupCode('Statement.src/M000018.html');return false;">
|
186
|
-
<span class="method-name">connection</span><span class="method-args">()</span>
|
187
|
-
</a>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
<div class="method-description">
|
191
|
-
<p>
|
192
|
-
This is the accessor for the connection attribute.
|
193
|
-
</p>
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
|
197
|
-
<div id="method-M000021" class="method-detail">
|
198
|
-
<a name="M000021"></a>
|
199
|
-
|
200
|
-
<div class="method-heading">
|
201
|
-
<a href="Statement.src/M000021.html" target="Code" class="method-signature"
|
202
|
-
onclick="popupCode('Statement.src/M000021.html');return false;">
|
203
|
-
<span class="method-name">dialect</span><span class="method-args">()</span>
|
204
|
-
</a>
|
205
|
-
</div>
|
206
|
-
|
207
|
-
<div class="method-description">
|
208
|
-
<p>
|
209
|
-
This is the accessor for the dialect attribute.
|
210
|
-
</p>
|
211
|
-
</div>
|
212
|
-
</div>
|
213
|
-
|
214
|
-
<div id="method-M000023" class="method-detail">
|
215
|
-
<a name="M000023"></a>
|
216
|
-
|
217
|
-
<div class="method-heading">
|
218
|
-
<a href="Statement.src/M000023.html" target="Code" class="method-signature"
|
219
|
-
onclick="popupCode('Statement.src/M000023.html');return false;">
|
220
|
-
<span class="method-name">execute</span><span class="method-args">() {|row| ...}</span>
|
221
|
-
</a>
|
222
|
-
</div>
|
223
|
-
|
224
|
-
<div class="method-description">
|
225
|
-
<p>
|
226
|
-
This method executes the SQL statement within a <a
|
227
|
-
href="Statement.html">Statement</a> object. This method returns a <a
|
228
|
-
href="ResultSet.html">ResultSet</a> object if the statement executed was a
|
229
|
-
SQL query, otherwise it returns nil. This method accepts a block taking a
|
230
|
-
single parameter. If this block is provided and the statement is a query
|
231
|
-
then the rows returned by the query will be passed, one at a time, to the
|
232
|
-
block.
|
233
|
-
</p>
|
234
|
-
<h4>Exception</h4>
|
235
|
-
<table>
|
236
|
-
<tr><td valign="top">Exception:</td><td>Generated if the <a href="Statement.html">Statement</a> object actual
|
237
|
-
requires some parameters or a problem occurs executing the SQL statement.
|
238
|
-
|
239
|
-
</td></tr>
|
240
|
-
</table>
|
241
|
-
</div>
|
242
|
-
</div>
|
243
|
-
|
244
|
-
<div id="method-M000024" class="method-detail">
|
245
|
-
<a name="M000024"></a>
|
246
|
-
|
247
|
-
<div class="method-heading">
|
248
|
-
<a href="Statement.src/M000024.html" target="Code" class="method-signature"
|
249
|
-
onclick="popupCode('Statement.src/M000024.html');return false;">
|
250
|
-
<span class="method-name">execute_for</span><span class="method-args">(parameters) {|row| ...}</span>
|
251
|
-
</a>
|
252
|
-
</div>
|
253
|
-
|
254
|
-
<div class="method-description">
|
255
|
-
<p>
|
256
|
-
This method executes the SQL statement within a <a
|
257
|
-
href="Statement.html">Statement</a> object and passes it a set of
|
258
|
-
parameters. Parameterized statements use question marks as place holders
|
259
|
-
for values that may change between calls to execute the statement. This
|
260
|
-
method returns a <a href="ResultSet.html">ResultSet</a> object if the
|
261
|
-
statement executed was a SQL query, otherwise it returns nil. This method
|
262
|
-
accepts a block taking a single parameter. If this block is provided and
|
263
|
-
the statement is a query then the rows returned by the query will be
|
264
|
-
passed, one at a time, to the block.
|
265
|
-
</p>
|
266
|
-
<h4>Parameters</h4>
|
267
|
-
<table>
|
268
|
-
<tr><td valign="top">parameters:</td><td>An array of the parameters for the statement. An effort will be made to
|
269
|
-
convert the values passed in to the appropriate types but no guarantees are
|
270
|
-
made (especially in the case of text fields, which will simply use to_s if
|
271
|
-
the object passed is not a String).
|
272
|
-
|
273
|
-
</td></tr>
|
274
|
-
</table>
|
275
|
-
<h4>Exception</h4>
|
276
|
-
<table>
|
277
|
-
<tr><td valign="top">Exception:</td><td>Generated whenever a problem occurs translating one of the input parameters
|
278
|
-
or executing the SQL statement.
|
279
|
-
|
280
|
-
</td></tr>
|
281
|
-
</table>
|
282
|
-
</div>
|
283
|
-
</div>
|
284
|
-
|
285
|
-
<div id="method-M000022" class="method-detail">
|
286
|
-
<a name="M000022"></a>
|
287
|
-
|
288
|
-
<div class="method-heading">
|
289
|
-
<a href="Statement.src/M000022.html" target="Code" class="method-signature"
|
290
|
-
onclick="popupCode('Statement.src/M000022.html');return false;">
|
291
|
-
<span class="method-name">is_query?</span><span class="method-args">()</span>
|
292
|
-
</a>
|
293
|
-
</div>
|
294
|
-
|
295
|
-
<div class="method-description">
|
296
|
-
<p>
|
297
|
-
This method is used to determine whether a <a
|
298
|
-
href="Statement.html">Statement</a> object represents a SQL query.
|
299
|
-
</p>
|
300
|
-
</div>
|
301
|
-
</div>
|
302
|
-
|
303
|
-
<div id="method-M000020" class="method-detail">
|
304
|
-
<a name="M000020"></a>
|
305
|
-
|
306
|
-
<div class="method-heading">
|
307
|
-
<a href="Statement.src/M000020.html" target="Code" class="method-signature"
|
308
|
-
onclick="popupCode('Statement.src/M000020.html');return false;">
|
309
|
-
<span class="method-name">sql</span><span class="method-args">()</span>
|
310
|
-
</a>
|
311
|
-
</div>
|
312
|
-
|
313
|
-
<div class="method-description">
|
314
|
-
<p>
|
315
|
-
This is the accessor for the SQL statement attribute.
|
316
|
-
</p>
|
317
|
-
</div>
|
318
|
-
</div>
|
319
|
-
|
320
|
-
<div id="method-M000019" class="method-detail">
|
321
|
-
<a name="M000019"></a>
|
322
|
-
|
323
|
-
<div class="method-heading">
|
324
|
-
<a href="Statement.src/M000019.html" target="Code" class="method-signature"
|
325
|
-
onclick="popupCode('Statement.src/M000019.html');return false;">
|
326
|
-
<span class="method-name">transaction</span><span class="method-args">()</span>
|
327
|
-
</a>
|
328
|
-
</div>
|
329
|
-
|
330
|
-
<div class="method-description">
|
331
|
-
<p>
|
332
|
-
This is the accessor for the transaction attribute.
|
333
|
-
</p>
|
334
|
-
</div>
|
335
|
-
</div>
|
336
|
-
|
337
|
-
|
338
|
-
</div>
|
339
|
-
|
340
|
-
|
341
|
-
</div>
|
342
|
-
|
343
|
-
|
344
|
-
<div id="validator-badges">
|
345
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
346
|
-
</div>
|
347
|
-
|
348
|
-
</body>
|
349
|
-
</html>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/M000017.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
2
|
-
/M000018.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
3
|
-
/M000019.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
4
|
-
/M000020.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
5
|
-
/M000021.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
6
|
-
/M000022.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
7
|
-
/M000023.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
8
|
-
/M000024.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
9
|
-
/M000025.html/1.1.1.1/Tue Mar 15 10:36:23 2005//
|
10
|
-
D
|
@@ -1 +0,0 @@
|
|
1
|
-
/var/cvs/fireruby/fireruby/doc/classes/FireRuby/Statement.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::Statement)</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 426</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">connection</span>, <span class="ruby-identifier">transaction</span>, <span class="ruby-identifier">sql</span>, <span class="ruby-identifier">dialect</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::Statement)</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 433</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>transaction (FireRuby::Statement)</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 440</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">transaction</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>sql (FireRuby::Statement)</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 447</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sql</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>dialect (FireRuby::Statement)</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 454</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dialect</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>is_query? (FireRuby::Statement)</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 462</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_query?</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,18 +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>execute (FireRuby::Statement)</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 478</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">execute</span>
|
15
|
-
<span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">row</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,18 +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>execute_for (FireRuby::Statement)</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 504</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">execute_for</span>(<span class="ruby-identifier">parameters</span>)
|
15
|
-
<span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">row</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</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>close (FireRuby::Statement)</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 518</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>
|
15
|
-
<span class="ruby-keyword kw">end</span></pre>
|
16
|
-
</body>
|
17
|
-
</html>
|