sqlconstructor 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +15 -0
  2. data/LICENSE.md +16 -0
  3. data/README.md +161 -0
  4. data/Rakefile +11 -0
  5. data/doc/Object.html +267 -0
  6. data/doc/Rakefile.html +150 -0
  7. data/doc/SQLAliasedList.html +717 -0
  8. data/doc/SQLColumn.html +326 -0
  9. data/doc/SQLCondList.html +318 -0
  10. data/doc/SQLConditional.html +1082 -0
  11. data/doc/SQLConditional/BasicCond.html +325 -0
  12. data/doc/SQLConstructor.html +763 -0
  13. data/doc/SQLConstructor/BasicDelete.html +383 -0
  14. data/doc/SQLConstructor/BasicDelete_mysql.html +368 -0
  15. data/doc/SQLConstructor/BasicInsert.html +339 -0
  16. data/doc/SQLConstructor/BasicInsert_mysql.html +325 -0
  17. data/doc/SQLConstructor/BasicJoin.html +408 -0
  18. data/doc/SQLConstructor/BasicJoin_mysql.html +439 -0
  19. data/doc/SQLConstructor/BasicSelect.html +554 -0
  20. data/doc/SQLConstructor/BasicSelect_example.html +288 -0
  21. data/doc/SQLConstructor/BasicSelect_mysql.html +466 -0
  22. data/doc/SQLConstructor/BasicUnion.html +396 -0
  23. data/doc/SQLConstructor/BasicUpdate.html +409 -0
  24. data/doc/SQLConstructor/BasicUpdate_mysql.html +310 -0
  25. data/doc/SQLConstructor/GenericQuery.html +797 -0
  26. data/doc/SQLConstructor/QAttr.html +398 -0
  27. data/doc/SQLConstructorTest.html +603 -0
  28. data/doc/SQLExporter.html +382 -0
  29. data/doc/SQLExporter/Exporter_generic.html +413 -0
  30. data/doc/SQLExporter/Exporter_mysql.html +395 -0
  31. data/doc/SQLObject.html +525 -0
  32. data/doc/SQLValList.html +322 -0
  33. data/doc/SQLValue.html +375 -0
  34. data/doc/created.rid +12 -0
  35. data/doc/images/brick.png +0 -0
  36. data/doc/images/brick_link.png +0 -0
  37. data/doc/images/bug.png +0 -0
  38. data/doc/images/bullet_black.png +0 -0
  39. data/doc/images/bullet_toggle_minus.png +0 -0
  40. data/doc/images/bullet_toggle_plus.png +0 -0
  41. data/doc/images/date.png +0 -0
  42. data/doc/images/find.png +0 -0
  43. data/doc/images/loadingAnimation.gif +0 -0
  44. data/doc/images/macFFBgHack.png +0 -0
  45. data/doc/images/package.png +0 -0
  46. data/doc/images/page_green.png +0 -0
  47. data/doc/images/page_white_text.png +0 -0
  48. data/doc/images/page_white_width.png +0 -0
  49. data/doc/images/plugin.png +0 -0
  50. data/doc/images/ruby.png +0 -0
  51. data/doc/images/tag_green.png +0 -0
  52. data/doc/images/wrench.png +0 -0
  53. data/doc/images/wrench_orange.png +0 -0
  54. data/doc/images/zoom.png +0 -0
  55. data/doc/index.html +356 -0
  56. data/doc/js/darkfish.js +118 -0
  57. data/doc/js/jquery.js +32 -0
  58. data/doc/js/quicksearch.js +114 -0
  59. data/doc/js/thickbox-compressed.js +10 -0
  60. data/doc/lib/dialects/example-constructor_rb.html +52 -0
  61. data/doc/lib/dialects/mysql-constructor_rb.html +52 -0
  62. data/doc/lib/dialects/mysql-exporter_rb.html +54 -0
  63. data/doc/lib/sqlconditional_rb.html +64 -0
  64. data/doc/lib/sqlconstructor_rb.html +52 -0
  65. data/doc/lib/sqlerrors_rb.html +54 -0
  66. data/doc/lib/sqlexporter_rb.html +55 -0
  67. data/doc/lib/sqlobject_rb.html +54 -0
  68. data/doc/rdoc.css +763 -0
  69. data/doc/test/queries_rb.html +56 -0
  70. data/doc/test_rb.html +52 -0
  71. data/lib/dialects/example-constructor.rb +45 -0
  72. data/lib/dialects/mysql-constructor.rb +247 -0
  73. data/lib/dialects/mysql-exporter.rb +108 -0
  74. data/lib/sqlconditional.rb +196 -0
  75. data/lib/sqlconstructor.rb +708 -0
  76. data/lib/sqlerrors.rb +15 -0
  77. data/lib/sqlexporter.rb +125 -0
  78. data/lib/sqlobject.rb +284 -0
  79. data/test/queries.rb +92 -0
  80. metadata +121 -0
@@ -0,0 +1,396 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: SQLConstructor::BasicUnion</title>
9
+
10
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="class">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="../index.html">Home</a>
25
+ <a href="../index.html#classes">Classes</a>
26
+ <a href="../index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="../lib/sqlconstructor_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/sqlconstructor.rb">lib/sqlconstructor.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+ <!-- Parent Class -->
50
+ <div id="parent-class-section" class="section">
51
+ <h3 class="section-header">Parent</h3>
52
+
53
+ <p class="link"><a href="GenericQuery.html">SQLConstructor::GenericQuery</a></p>
54
+
55
+ </div>
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+ <!-- Method Quickref -->
64
+ <div id="method-list-section" class="section">
65
+ <h3 class="section-header">Methods</h3>
66
+ <ul class="link-list">
67
+
68
+ <li><a href="#method-c-new">::new</a></li>
69
+
70
+ <li><a href="#method-i-_get">#_get</a></li>
71
+
72
+ <li><a href="#method-i-_remove">#_remove</a></li>
73
+
74
+ <li><a href="#method-i-method_missing">#method_missing</a></li>
75
+
76
+ <li><a href="#method-i-to_s">#to_s</a></li>
77
+
78
+ </ul>
79
+ </div>
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="project-metadata">
86
+
87
+
88
+ <div id="fileindex-section" class="section project-section">
89
+ <h3 class="section-header">Files</h3>
90
+ <ul>
91
+
92
+ <li class="file"><a href="../Rakefile.html">Rakefile</a></li>
93
+
94
+ </ul>
95
+ </div>
96
+
97
+
98
+ <div id="classindex-section" class="section project-section">
99
+ <h3 class="section-header">Class/Module Index
100
+ <span class="search-toggle"><img src="../images/find.png"
101
+ height="16" width="16" alt="[+]"
102
+ title="show/hide quicksearch" /></span></h3>
103
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
104
+ <fieldset>
105
+ <legend>Quicksearch</legend>
106
+ <input type="text" name="quicksearch" value=""
107
+ class="quicksearch-field" />
108
+ </fieldset>
109
+ </form>
110
+
111
+ <ul class="link-list">
112
+
113
+ <li><a href="../SQLConstructor.html">SQLConstructor</a></li>
114
+
115
+ <li><a href="../SQLConstructor/BasicDelete.html">SQLConstructor::BasicDelete</a></li>
116
+
117
+ <li><a href="../SQLConstructor/BasicDelete_mysql.html">SQLConstructor::BasicDelete_mysql</a></li>
118
+
119
+ <li><a href="../SQLConstructor/BasicInsert.html">SQLConstructor::BasicInsert</a></li>
120
+
121
+ <li><a href="../SQLConstructor/BasicInsert_mysql.html">SQLConstructor::BasicInsert_mysql</a></li>
122
+
123
+ <li><a href="../SQLConstructor/BasicJoin.html">SQLConstructor::BasicJoin</a></li>
124
+
125
+ <li><a href="../SQLConstructor/BasicJoin_mysql.html">SQLConstructor::BasicJoin_mysql</a></li>
126
+
127
+ <li><a href="../SQLConstructor/BasicSelect.html">SQLConstructor::BasicSelect</a></li>
128
+
129
+ <li><a href="../SQLConstructor/BasicSelect_example.html">SQLConstructor::BasicSelect_example</a></li>
130
+
131
+ <li><a href="../SQLConstructor/BasicSelect_mysql.html">SQLConstructor::BasicSelect_mysql</a></li>
132
+
133
+ <li><a href="../SQLConstructor/BasicUnion.html">SQLConstructor::BasicUnion</a></li>
134
+
135
+ <li><a href="../SQLConstructor/BasicUpdate.html">SQLConstructor::BasicUpdate</a></li>
136
+
137
+ <li><a href="../SQLConstructor/BasicUpdate_mysql.html">SQLConstructor::BasicUpdate_mysql</a></li>
138
+
139
+ <li><a href="../SQLConstructor/GenericQuery.html">SQLConstructor::GenericQuery</a></li>
140
+
141
+ <li><a href="../SQLConstructor/QAttr.html">SQLConstructor::QAttr</a></li>
142
+
143
+ <li><a href="../SQLExporter.html">SQLExporter</a></li>
144
+
145
+ <li><a href="../SQLExporter/Exporter_generic.html">SQLExporter::Exporter_generic</a></li>
146
+
147
+ <li><a href="../SQLExporter/Exporter_mysql.html">SQLExporter::Exporter_mysql</a></li>
148
+
149
+ <li><a href="../SQLConditional.html">SQLConditional</a></li>
150
+
151
+ <li><a href="../SQLConditional/BasicCond.html">SQLConditional::BasicCond</a></li>
152
+
153
+ <li><a href="../Object.html">Object</a></li>
154
+
155
+ <li><a href="../SQLAliasedList.html">SQLAliasedList</a></li>
156
+
157
+ <li><a href="../SQLColumn.html">SQLColumn</a></li>
158
+
159
+ <li><a href="../SQLCondList.html">SQLCondList</a></li>
160
+
161
+ <li><a href="../SQLConstructorTest.html">SQLConstructorTest</a></li>
162
+
163
+ <li><a href="../SQLObject.html">SQLObject</a></li>
164
+
165
+ <li><a href="../SQLValList.html">SQLValList</a></li>
166
+
167
+ <li><a href="../SQLValue.html">SQLValue</a></li>
168
+
169
+ </ul>
170
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
171
+ </div>
172
+
173
+
174
+ </div>
175
+ </div>
176
+
177
+ <div id="documentation">
178
+ <h1 class="class">SQLConstructor::BasicUnion</h1>
179
+
180
+ <div id="description" class="description">
181
+
182
+ <p>Internal class which represents a basic UNION statement.</p>
183
+
184
+ </div><!-- description -->
185
+
186
+
187
+
188
+
189
+ <div id="5Buntitled-5D" class="documentation-section">
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+ <!-- Methods -->
199
+
200
+ <div id="public-class-method-details" class="method-section section">
201
+ <h3 class="section-header">Public Class Methods</h3>
202
+
203
+
204
+ <div id="new-method" class="method-detail ">
205
+ <a name="method-c-new"></a>
206
+
207
+
208
+ <div class="method-heading">
209
+ <span class="method-name">new</span><span
210
+ class="method-args">( _caller, type )</span>
211
+ <span class="method-click-advice">click to toggle source</span>
212
+ </div>
213
+
214
+
215
+ <div class="method-description">
216
+
217
+ <p>Class contructor. Takes a caller object as the first argument and UNION
218
+ type as the second argument. Inits @obj to new <a
219
+ href="../SQLConstructor.html">SQLConstructor</a> instance</p>
220
+
221
+
222
+
223
+ <div class="method-source-code" id="new-source">
224
+ <pre>
225
+ <span class="ruby-comment"># File lib/sqlconstructor.rb, line 491</span>
226
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> ( <span class="ruby-identifier">_caller</span>, <span class="ruby-identifier">type</span> )
227
+ <span class="ruby-ivar">@type</span> = <span class="ruby-identifier">type</span>
228
+ <span class="ruby-keyword">super</span> <span class="ruby-identifier">_caller</span>
229
+ <span class="ruby-ivar">@obj</span> = <span class="ruby-constant">SQLConstructor</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value">:dialect</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@dialect</span>, <span class="ruby-value">:tidy</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@tidy</span> )
230
+ <span class="ruby-keyword">end</span></pre>
231
+ </div><!-- new-source -->
232
+
233
+ </div>
234
+
235
+
236
+
237
+
238
+ </div><!-- new-method -->
239
+
240
+
241
+ </div><!-- public-class-method-details -->
242
+
243
+ <div id="public-instance-method-details" class="method-section section">
244
+ <h3 class="section-header">Public Instance Methods</h3>
245
+
246
+
247
+ <div id="_get-method" class="method-detail ">
248
+ <a name="method-i-_get"></a>
249
+
250
+
251
+ <div class="method-heading">
252
+ <span class="method-name">_get</span><span
253
+ class="method-args">( *args )</span>
254
+ <span class="method-click-advice">click to toggle source</span>
255
+ </div>
256
+
257
+
258
+ <div class="method-description">
259
+
260
+ <p>Override <a href="GenericQuery.html">GenericQuery</a> method and send call
261
+ to @obj</p>
262
+
263
+
264
+
265
+ <div class="method-source-code" id="_get-source">
266
+ <pre>
267
+ <span class="ruby-comment"># File lib/sqlconstructor.rb, line 507</span>
268
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">_get</span> ( *<span class="ruby-identifier">args</span> )
269
+ <span class="ruby-ivar">@obj</span>.<span class="ruby-identifier">_get</span> *<span class="ruby-identifier">args</span>
270
+ <span class="ruby-keyword">end</span></pre>
271
+ </div><!-- _get-source -->
272
+
273
+ </div>
274
+
275
+
276
+
277
+
278
+ </div><!-- _get-method -->
279
+
280
+
281
+ <div id="_remove-method" class="method-detail ">
282
+ <a name="method-i-_remove"></a>
283
+
284
+
285
+ <div class="method-heading">
286
+ <span class="method-name">_remove</span><span
287
+ class="method-args">( *args )</span>
288
+ <span class="method-click-advice">click to toggle source</span>
289
+ </div>
290
+
291
+
292
+ <div class="method-description">
293
+
294
+ <p>Override <a href="GenericQuery.html">GenericQuery</a> method and send call
295
+ to @obj</p>
296
+
297
+
298
+
299
+ <div class="method-source-code" id="_remove-source">
300
+ <pre>
301
+ <span class="ruby-comment"># File lib/sqlconstructor.rb, line 514</span>
302
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">_remove</span> ( *<span class="ruby-identifier">args</span> )
303
+ <span class="ruby-ivar">@obj</span>.<span class="ruby-identifier">_remove</span> *<span class="ruby-identifier">args</span>
304
+ <span class="ruby-keyword">end</span></pre>
305
+ </div><!-- _remove-source -->
306
+
307
+ </div>
308
+
309
+
310
+
311
+
312
+ </div><!-- _remove-method -->
313
+
314
+
315
+ <div id="method_missing-method" class="method-detail ">
316
+ <a name="method-i-method_missing"></a>
317
+
318
+
319
+ <div class="method-heading">
320
+ <span class="method-name">method_missing</span><span
321
+ class="method-args">( method, *args )</span>
322
+ <span class="method-click-advice">click to toggle source</span>
323
+ </div>
324
+
325
+
326
+ <div class="method-description">
327
+
328
+ <p>Send call to @obj</p>
329
+
330
+
331
+
332
+ <div class="method-source-code" id="method_missing-source">
333
+ <pre>
334
+ <span class="ruby-comment"># File lib/sqlconstructor.rb, line 521</span>
335
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">method_missing</span> ( <span class="ruby-identifier">method</span>, *<span class="ruby-identifier">args</span> )
336
+ <span class="ruby-ivar">@obj</span>.<span class="ruby-identifier">send</span> <span class="ruby-identifier">method</span>, *<span class="ruby-identifier">args</span>
337
+ <span class="ruby-keyword">end</span></pre>
338
+ </div><!-- method_missing-source -->
339
+
340
+ </div>
341
+
342
+
343
+
344
+
345
+ </div><!-- method_missing-method -->
346
+
347
+
348
+ <div id="to_s-method" class="method-detail ">
349
+ <a name="method-i-to_s"></a>
350
+
351
+
352
+ <div class="method-heading">
353
+ <span class="method-name">to_s</span><span
354
+ class="method-args">()</span>
355
+ <span class="method-click-advice">click to toggle source</span>
356
+ </div>
357
+
358
+
359
+ <div class="method-description">
360
+
361
+ <p>Export to string</p>
362
+
363
+
364
+
365
+ <div class="method-source-code" id="to_s-source">
366
+ <pre>
367
+ <span class="ruby-comment"># File lib/sqlconstructor.rb, line 500</span>
368
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
369
+ <span class="ruby-ivar">@type</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@caller</span>.<span class="ruby-identifier">exporter</span>.<span class="ruby-identifier">separator</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@obj</span>.<span class="ruby-identifier">to_s</span>
370
+ <span class="ruby-keyword">end</span></pre>
371
+ </div><!-- to_s-source -->
372
+
373
+ </div>
374
+
375
+
376
+
377
+
378
+ </div><!-- to_s-method -->
379
+
380
+
381
+ </div><!-- public-instance-method-details -->
382
+
383
+ </div><!-- 5Buntitled-5D -->
384
+
385
+
386
+ </div><!-- documentation -->
387
+
388
+ <div id="validator-badges">
389
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
390
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
391
+ Rdoc Generator</a> 2</small>.</p>
392
+ </div>
393
+
394
+ </body>
395
+ </html>
396
+
@@ -0,0 +1,409 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: SQLConstructor::BasicUpdate</title>
9
+
10
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="class">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="../index.html">Home</a>
25
+ <a href="../index.html#classes">Classes</a>
26
+ <a href="../index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="../lib/sqlconstructor_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/sqlconstructor.rb">lib/sqlconstructor.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+ <!-- Parent Class -->
50
+ <div id="parent-class-section" class="section">
51
+ <h3 class="section-header">Parent</h3>
52
+
53
+ <p class="link"><a href="GenericQuery.html">SQLConstructor::GenericQuery</a></p>
54
+
55
+ </div>
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+ <!-- Method Quickref -->
64
+ <div id="method-list-section" class="section">
65
+ <h3 class="section-header">Methods</h3>
66
+ <ul class="link-list">
67
+
68
+ <li><a href="#method-c-new">::new</a></li>
69
+
70
+ <li><a href="#method-i-update_more">#update_more</a></li>
71
+
72
+ </ul>
73
+ </div>
74
+
75
+
76
+
77
+ </div>
78
+
79
+ <div id="project-metadata">
80
+
81
+
82
+ <div id="fileindex-section" class="section project-section">
83
+ <h3 class="section-header">Files</h3>
84
+ <ul>
85
+
86
+ <li class="file"><a href="../Rakefile.html">Rakefile</a></li>
87
+
88
+ </ul>
89
+ </div>
90
+
91
+
92
+ <div id="classindex-section" class="section project-section">
93
+ <h3 class="section-header">Class/Module Index
94
+ <span class="search-toggle"><img src="../images/find.png"
95
+ height="16" width="16" alt="[+]"
96
+ title="show/hide quicksearch" /></span></h3>
97
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
98
+ <fieldset>
99
+ <legend>Quicksearch</legend>
100
+ <input type="text" name="quicksearch" value=""
101
+ class="quicksearch-field" />
102
+ </fieldset>
103
+ </form>
104
+
105
+ <ul class="link-list">
106
+
107
+ <li><a href="../SQLConstructor.html">SQLConstructor</a></li>
108
+
109
+ <li><a href="../SQLConstructor/BasicDelete.html">SQLConstructor::BasicDelete</a></li>
110
+
111
+ <li><a href="../SQLConstructor/BasicDelete_mysql.html">SQLConstructor::BasicDelete_mysql</a></li>
112
+
113
+ <li><a href="../SQLConstructor/BasicInsert.html">SQLConstructor::BasicInsert</a></li>
114
+
115
+ <li><a href="../SQLConstructor/BasicInsert_mysql.html">SQLConstructor::BasicInsert_mysql</a></li>
116
+
117
+ <li><a href="../SQLConstructor/BasicJoin.html">SQLConstructor::BasicJoin</a></li>
118
+
119
+ <li><a href="../SQLConstructor/BasicJoin_mysql.html">SQLConstructor::BasicJoin_mysql</a></li>
120
+
121
+ <li><a href="../SQLConstructor/BasicSelect.html">SQLConstructor::BasicSelect</a></li>
122
+
123
+ <li><a href="../SQLConstructor/BasicSelect_example.html">SQLConstructor::BasicSelect_example</a></li>
124
+
125
+ <li><a href="../SQLConstructor/BasicSelect_mysql.html">SQLConstructor::BasicSelect_mysql</a></li>
126
+
127
+ <li><a href="../SQLConstructor/BasicUnion.html">SQLConstructor::BasicUnion</a></li>
128
+
129
+ <li><a href="../SQLConstructor/BasicUpdate.html">SQLConstructor::BasicUpdate</a></li>
130
+
131
+ <li><a href="../SQLConstructor/BasicUpdate_mysql.html">SQLConstructor::BasicUpdate_mysql</a></li>
132
+
133
+ <li><a href="../SQLConstructor/GenericQuery.html">SQLConstructor::GenericQuery</a></li>
134
+
135
+ <li><a href="../SQLConstructor/QAttr.html">SQLConstructor::QAttr</a></li>
136
+
137
+ <li><a href="../SQLExporter.html">SQLExporter</a></li>
138
+
139
+ <li><a href="../SQLExporter/Exporter_generic.html">SQLExporter::Exporter_generic</a></li>
140
+
141
+ <li><a href="../SQLExporter/Exporter_mysql.html">SQLExporter::Exporter_mysql</a></li>
142
+
143
+ <li><a href="../SQLConditional.html">SQLConditional</a></li>
144
+
145
+ <li><a href="../SQLConditional/BasicCond.html">SQLConditional::BasicCond</a></li>
146
+
147
+ <li><a href="../Object.html">Object</a></li>
148
+
149
+ <li><a href="../SQLAliasedList.html">SQLAliasedList</a></li>
150
+
151
+ <li><a href="../SQLColumn.html">SQLColumn</a></li>
152
+
153
+ <li><a href="../SQLCondList.html">SQLCondList</a></li>
154
+
155
+ <li><a href="../SQLConstructorTest.html">SQLConstructorTest</a></li>
156
+
157
+ <li><a href="../SQLObject.html">SQLObject</a></li>
158
+
159
+ <li><a href="../SQLValList.html">SQLValList</a></li>
160
+
161
+ <li><a href="../SQLValue.html">SQLValue</a></li>
162
+
163
+ </ul>
164
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
165
+ </div>
166
+
167
+
168
+ </div>
169
+ </div>
170
+
171
+ <div id="documentation">
172
+ <h1 class="class">SQLConstructor::BasicUpdate</h1>
173
+
174
+ <div id="description" class="description">
175
+
176
+ <p>Internal class which represents a basic INSERT statement.</p>
177
+
178
+ </div><!-- description -->
179
+
180
+
181
+
182
+
183
+ <div id="5Buntitled-5D" class="documentation-section">
184
+
185
+
186
+
187
+
188
+
189
+ <!-- Constants -->
190
+ <div id="constants-list" class="section">
191
+ <h3 class="section-header">Constants</h3>
192
+ <dl>
193
+
194
+ <dt><a name="METHODS">METHODS</a></dt>
195
+
196
+ <dd class="description"></dd>
197
+
198
+
199
+ </dl>
200
+ </div>
201
+
202
+
203
+
204
+ <!-- Attributes -->
205
+ <div id="attribute-method-details" class="method-section section">
206
+ <h3 class="section-header">Attributes</h3>
207
+
208
+
209
+ <div id="attr_first-attribute-method" class="method-detail">
210
+ <a name="attr_first"></a>
211
+
212
+ <a name="attr_first="></a>
213
+
214
+ <div class="method-heading attribute-method-heading">
215
+ <span class="method-name">attr_first</span><span
216
+ class="attribute-access-type">[RW]</span>
217
+ </div>
218
+
219
+ <div class="method-description">
220
+
221
+
222
+
223
+ </div>
224
+ </div>
225
+
226
+ <div id="attr_order_by-attribute-method" class="method-detail">
227
+ <a name="attr_order_by"></a>
228
+
229
+ <a name="attr_order_by="></a>
230
+
231
+ <div class="method-heading attribute-method-heading">
232
+ <span class="method-name">attr_order_by</span><span
233
+ class="attribute-access-type">[RW]</span>
234
+ </div>
235
+
236
+ <div class="method-description">
237
+
238
+
239
+
240
+ </div>
241
+ </div>
242
+
243
+ <div id="attr_skip-attribute-method" class="method-detail">
244
+ <a name="attr_skip"></a>
245
+
246
+ <a name="attr_skip="></a>
247
+
248
+ <div class="method-heading attribute-method-heading">
249
+ <span class="method-name">attr_skip</span><span
250
+ class="attribute-access-type">[RW]</span>
251
+ </div>
252
+
253
+ <div class="method-description">
254
+
255
+
256
+
257
+ </div>
258
+ </div>
259
+
260
+ <div id="attr_where-attribute-method" class="method-detail">
261
+ <a name="attr_where"></a>
262
+
263
+ <a name="attr_where="></a>
264
+
265
+ <div class="method-heading attribute-method-heading">
266
+ <span class="method-name">attr_where</span><span
267
+ class="attribute-access-type">[RW]</span>
268
+ </div>
269
+
270
+ <div class="method-description">
271
+
272
+
273
+
274
+ </div>
275
+ </div>
276
+
277
+ <div id="upd_set-attribute-method" class="method-detail">
278
+ <a name="upd_set"></a>
279
+
280
+ <a name="upd_set="></a>
281
+
282
+ <div class="method-heading attribute-method-heading">
283
+ <span class="method-name">upd_set</span><span
284
+ class="attribute-access-type">[RW]</span>
285
+ </div>
286
+
287
+ <div class="method-description">
288
+
289
+
290
+
291
+ </div>
292
+ </div>
293
+
294
+ <div id="upd_tables-attribute-method" class="method-detail">
295
+ <a name="upd_tables"></a>
296
+
297
+ <a name="upd_tables="></a>
298
+
299
+ <div class="method-heading attribute-method-heading">
300
+ <span class="method-name">upd_tables</span><span
301
+ class="attribute-access-type">[RW]</span>
302
+ </div>
303
+
304
+ <div class="method-description">
305
+
306
+
307
+
308
+ </div>
309
+ </div>
310
+
311
+ </div><!-- attribute-method-details -->
312
+
313
+
314
+ <!-- Methods -->
315
+
316
+ <div id="public-class-method-details" class="method-section section">
317
+ <h3 class="section-header">Public Class Methods</h3>
318
+
319
+
320
+ <div id="new-method" class="method-detail ">
321
+ <a name="method-c-new"></a>
322
+
323
+
324
+ <div class="method-heading">
325
+ <span class="method-name">new</span><span
326
+ class="method-args">( _caller, *list )</span>
327
+ <span class="method-click-advice">click to toggle source</span>
328
+ </div>
329
+
330
+
331
+ <div class="method-description">
332
+
333
+ <p>Class constructor. _caller - the caller object</p>
334
+
335
+
336
+
337
+ <div class="method-source-code" id="new-source">
338
+ <pre>
339
+ <span class="ruby-comment"># File lib/sqlconstructor.rb, line 686</span>
340
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> ( <span class="ruby-identifier">_caller</span>, *<span class="ruby-identifier">list</span> )
341
+ <span class="ruby-keyword">super</span> <span class="ruby-identifier">_caller</span>
342
+ <span class="ruby-ivar">@upd_tables</span> = <span class="ruby-constant">QAttr</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'upd_tables'</span>, <span class="ruby-value">:text</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">''</span>,
343
+ <span class="ruby-value">:val</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">SQLAliasedList</span>.<span class="ruby-identifier">new</span>( *<span class="ruby-identifier">list</span> ) )
344
+ <span class="ruby-keyword">end</span></pre>
345
+ </div><!-- new-source -->
346
+
347
+ </div>
348
+
349
+
350
+
351
+
352
+ </div><!-- new-method -->
353
+
354
+
355
+ </div><!-- public-class-method-details -->
356
+
357
+ <div id="public-instance-method-details" class="method-section section">
358
+ <h3 class="section-header">Public Instance Methods</h3>
359
+
360
+
361
+ <div id="update_more-method" class="method-detail ">
362
+ <a name="method-i-update_more"></a>
363
+
364
+
365
+ <div class="method-heading">
366
+ <span class="method-name">update_more</span><span
367
+ class="method-args">( *list )</span>
368
+ <span class="method-click-advice">click to toggle source</span>
369
+ </div>
370
+
371
+
372
+ <div class="method-description">
373
+
374
+ <p>Add tables to UPDATE tables list ( @<a href="http://:val">upd_tables</a> )</p>
375
+
376
+
377
+
378
+ <div class="method-source-code" id="update_more-source">
379
+ <pre>
380
+ <span class="ruby-comment"># File lib/sqlconstructor.rb, line 695</span>
381
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">update_more</span> ( *<span class="ruby-identifier">list</span> )
382
+ <span class="ruby-ivar">@upd_tables</span>.<span class="ruby-identifier">val</span>.<span class="ruby-identifier">push</span> *<span class="ruby-identifier">list</span>
383
+ <span class="ruby-keyword">end</span></pre>
384
+ </div><!-- update_more-source -->
385
+
386
+ </div>
387
+
388
+
389
+
390
+
391
+ </div><!-- update_more-method -->
392
+
393
+
394
+ </div><!-- public-instance-method-details -->
395
+
396
+ </div><!-- 5Buntitled-5D -->
397
+
398
+
399
+ </div><!-- documentation -->
400
+
401
+ <div id="validator-badges">
402
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
403
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
404
+ Rdoc Generator</a> 2</small>.</p>
405
+ </div>
406
+
407
+ </body>
408
+ </html>
409
+