sqlconstructor 0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/LICENSE.md +16 -0
- data/README.md +161 -0
- data/Rakefile +11 -0
- data/doc/Object.html +267 -0
- data/doc/Rakefile.html +150 -0
- data/doc/SQLAliasedList.html +717 -0
- data/doc/SQLColumn.html +326 -0
- data/doc/SQLCondList.html +318 -0
- data/doc/SQLConditional.html +1082 -0
- data/doc/SQLConditional/BasicCond.html +325 -0
- data/doc/SQLConstructor.html +763 -0
- data/doc/SQLConstructor/BasicDelete.html +383 -0
- data/doc/SQLConstructor/BasicDelete_mysql.html +368 -0
- data/doc/SQLConstructor/BasicInsert.html +339 -0
- data/doc/SQLConstructor/BasicInsert_mysql.html +325 -0
- data/doc/SQLConstructor/BasicJoin.html +408 -0
- data/doc/SQLConstructor/BasicJoin_mysql.html +439 -0
- data/doc/SQLConstructor/BasicSelect.html +554 -0
- data/doc/SQLConstructor/BasicSelect_example.html +288 -0
- data/doc/SQLConstructor/BasicSelect_mysql.html +466 -0
- data/doc/SQLConstructor/BasicUnion.html +396 -0
- data/doc/SQLConstructor/BasicUpdate.html +409 -0
- data/doc/SQLConstructor/BasicUpdate_mysql.html +310 -0
- data/doc/SQLConstructor/GenericQuery.html +797 -0
- data/doc/SQLConstructor/QAttr.html +398 -0
- data/doc/SQLConstructorTest.html +603 -0
- data/doc/SQLExporter.html +382 -0
- data/doc/SQLExporter/Exporter_generic.html +413 -0
- data/doc/SQLExporter/Exporter_mysql.html +395 -0
- data/doc/SQLObject.html +525 -0
- data/doc/SQLValList.html +322 -0
- data/doc/SQLValue.html +375 -0
- data/doc/created.rid +12 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +356 -0
- data/doc/js/darkfish.js +118 -0
- data/doc/js/jquery.js +32 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/dialects/example-constructor_rb.html +52 -0
- data/doc/lib/dialects/mysql-constructor_rb.html +52 -0
- data/doc/lib/dialects/mysql-exporter_rb.html +54 -0
- data/doc/lib/sqlconditional_rb.html +64 -0
- data/doc/lib/sqlconstructor_rb.html +52 -0
- data/doc/lib/sqlerrors_rb.html +54 -0
- data/doc/lib/sqlexporter_rb.html +55 -0
- data/doc/lib/sqlobject_rb.html +54 -0
- data/doc/rdoc.css +763 -0
- data/doc/test/queries_rb.html +56 -0
- data/doc/test_rb.html +52 -0
- data/lib/dialects/example-constructor.rb +45 -0
- data/lib/dialects/mysql-constructor.rb +247 -0
- data/lib/dialects/mysql-exporter.rb +108 -0
- data/lib/sqlconditional.rb +196 -0
- data/lib/sqlconstructor.rb +708 -0
- data/lib/sqlerrors.rb +15 -0
- data/lib/sqlexporter.rb +125 -0
- data/lib/sqlobject.rb +284 -0
- data/test/queries.rb +92 -0
- metadata +121 -0
data/doc/created.rid
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
Fri, 29 Aug 2014 14:27:32 +0400
|
2
|
+
./Rakefile Wed, 13 Aug 2014 14:14:17 +0400
|
3
|
+
./test.rb Fri, 29 Aug 2014 10:20:36 +0400
|
4
|
+
./lib/sqlerrors.rb Tue, 12 Aug 2014 15:32:26 +0400
|
5
|
+
./lib/sqlconstructor.rb Fri, 29 Aug 2014 14:27:27 +0400
|
6
|
+
./lib/sqlexporter.rb Thu, 28 Aug 2014 12:20:47 +0400
|
7
|
+
./lib/sqlobject.rb Tue, 26 Aug 2014 15:28:09 +0400
|
8
|
+
./lib/sqlconditional.rb Tue, 26 Aug 2014 15:07:02 +0400
|
9
|
+
./lib/dialects/example-constructor.rb Wed, 30 Jul 2014 16:54:39 +0400
|
10
|
+
./lib/dialects/mysql-constructor.rb Fri, 29 Aug 2014 12:00:36 +0400
|
11
|
+
./lib/dialects/mysql-exporter.rb Fri, 29 Aug 2014 12:00:07 +0400
|
12
|
+
./test/queries.rb Thu, 28 Aug 2014 15:20:52 +0400
|
Binary file
|
Binary file
|
data/doc/images/bug.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/date.png
ADDED
Binary file
|
data/doc/images/find.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/ruby.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/zoom.png
ADDED
Binary file
|
data/doc/index.html
ADDED
@@ -0,0 +1,356 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>RDoc Documentation</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
14
|
+
<script src="js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
15
|
+
<script src="js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
16
|
+
<script src="js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
17
|
+
|
18
|
+
</head>
|
19
|
+
<body class="indexpage">
|
20
|
+
|
21
|
+
|
22
|
+
<h1>RDoc Documentation</h1>
|
23
|
+
|
24
|
+
|
25
|
+
<p>This is the API documentation for 'RDoc Documentation'.</p>
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<h2>Files</h2>
|
31
|
+
<ul>
|
32
|
+
|
33
|
+
<li class="file"><a href="Rakefile.html">Rakefile</a></li>
|
34
|
+
|
35
|
+
</ul>
|
36
|
+
|
37
|
+
|
38
|
+
<h2 id="classes">Classes/Modules</h2>
|
39
|
+
<ul>
|
40
|
+
|
41
|
+
<li class="class"><a href="SQLConstructor.html">SQLConstructor</a></li>
|
42
|
+
|
43
|
+
<li class="class"><a href="SQLConstructor/BasicDelete.html">SQLConstructor::BasicDelete</a></li>
|
44
|
+
|
45
|
+
<li class="class"><a href="SQLConstructor/BasicDelete_mysql.html">SQLConstructor::BasicDelete_mysql</a></li>
|
46
|
+
|
47
|
+
<li class="class"><a href="SQLConstructor/BasicInsert.html">SQLConstructor::BasicInsert</a></li>
|
48
|
+
|
49
|
+
<li class="class"><a href="SQLConstructor/BasicInsert_mysql.html">SQLConstructor::BasicInsert_mysql</a></li>
|
50
|
+
|
51
|
+
<li class="class"><a href="SQLConstructor/BasicJoin.html">SQLConstructor::BasicJoin</a></li>
|
52
|
+
|
53
|
+
<li class="class"><a href="SQLConstructor/BasicJoin_mysql.html">SQLConstructor::BasicJoin_mysql</a></li>
|
54
|
+
|
55
|
+
<li class="class"><a href="SQLConstructor/BasicSelect.html">SQLConstructor::BasicSelect</a></li>
|
56
|
+
|
57
|
+
<li class="class"><a href="SQLConstructor/BasicSelect_example.html">SQLConstructor::BasicSelect_example</a></li>
|
58
|
+
|
59
|
+
<li class="class"><a href="SQLConstructor/BasicSelect_mysql.html">SQLConstructor::BasicSelect_mysql</a></li>
|
60
|
+
|
61
|
+
<li class="class"><a href="SQLConstructor/BasicUnion.html">SQLConstructor::BasicUnion</a></li>
|
62
|
+
|
63
|
+
<li class="class"><a href="SQLConstructor/BasicUpdate.html">SQLConstructor::BasicUpdate</a></li>
|
64
|
+
|
65
|
+
<li class="class"><a href="SQLConstructor/BasicUpdate_mysql.html">SQLConstructor::BasicUpdate_mysql</a></li>
|
66
|
+
|
67
|
+
<li class="class"><a href="SQLConstructor/GenericQuery.html">SQLConstructor::GenericQuery</a></li>
|
68
|
+
|
69
|
+
<li class="class"><a href="SQLConstructor/QAttr.html">SQLConstructor::QAttr</a></li>
|
70
|
+
|
71
|
+
<li class="class"><a href="SQLExporter.html">SQLExporter</a></li>
|
72
|
+
|
73
|
+
<li class="class"><a href="SQLExporter/Exporter_generic.html">SQLExporter::Exporter_generic</a></li>
|
74
|
+
|
75
|
+
<li class="class"><a href="SQLExporter/Exporter_mysql.html">SQLExporter::Exporter_mysql</a></li>
|
76
|
+
|
77
|
+
<li class="class"><a href="SQLConditional.html">SQLConditional</a></li>
|
78
|
+
|
79
|
+
<li class="class"><a href="SQLConditional/BasicCond.html">SQLConditional::BasicCond</a></li>
|
80
|
+
|
81
|
+
<li class="class"><a href="Object.html">Object</a></li>
|
82
|
+
|
83
|
+
<li class="class"><a href="SQLAliasedList.html">SQLAliasedList</a></li>
|
84
|
+
|
85
|
+
<li class="class"><a href="SQLColumn.html">SQLColumn</a></li>
|
86
|
+
|
87
|
+
<li class="class"><a href="SQLCondList.html">SQLCondList</a></li>
|
88
|
+
|
89
|
+
<li class="class"><a href="SQLConstructorTest.html">SQLConstructorTest</a></li>
|
90
|
+
|
91
|
+
<li class="class"><a href="SQLObject.html">SQLObject</a></li>
|
92
|
+
|
93
|
+
<li class="class"><a href="SQLValList.html">SQLValList</a></li>
|
94
|
+
|
95
|
+
<li class="class"><a href="SQLValue.html">SQLValue</a></li>
|
96
|
+
|
97
|
+
</ul>
|
98
|
+
|
99
|
+
<h2 id="methods">Methods</h2>
|
100
|
+
<ul>
|
101
|
+
|
102
|
+
<li><a href="SQLObject.html#method-c-get">::get — SQLObject</a></li>
|
103
|
+
|
104
|
+
<li><a href="SQLCondList.html#method-c-new">::new — SQLCondList</a></li>
|
105
|
+
|
106
|
+
<li><a href="SQLValue.html#method-c-new">::new — SQLValue</a></li>
|
107
|
+
|
108
|
+
<li><a href="SQLColumn.html#method-c-new">::new — SQLColumn</a></li>
|
109
|
+
|
110
|
+
<li><a href="SQLExporter/Exporter_mysql.html#method-c-new">::new — SQLExporter::Exporter_mysql</a></li>
|
111
|
+
|
112
|
+
<li><a href="SQLConstructor.html#method-c-new">::new — SQLConstructor</a></li>
|
113
|
+
|
114
|
+
<li><a href="SQLConstructor/BasicJoin_mysql.html#method-c-new">::new — SQLConstructor::BasicJoin_mysql</a></li>
|
115
|
+
|
116
|
+
<li><a href="SQLConstructor/BasicUpdate_mysql.html#method-c-new">::new — SQLConstructor::BasicUpdate_mysql</a></li>
|
117
|
+
|
118
|
+
<li><a href="SQLObject.html#method-c-new">::new — SQLObject</a></li>
|
119
|
+
|
120
|
+
<li><a href="SQLConstructor/QAttr.html#method-c-new">::new — SQLConstructor::QAttr</a></li>
|
121
|
+
|
122
|
+
<li><a href="SQLConstructor/BasicInsert_mysql.html#method-c-new">::new — SQLConstructor::BasicInsert_mysql</a></li>
|
123
|
+
|
124
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-c-new">::new — SQLConstructor::GenericQuery</a></li>
|
125
|
+
|
126
|
+
<li><a href="SQLExporter/Exporter_generic.html#method-c-new">::new — SQLExporter::Exporter_generic</a></li>
|
127
|
+
|
128
|
+
<li><a href="SQLAliasedList.html#method-c-new">::new — SQLAliasedList</a></li>
|
129
|
+
|
130
|
+
<li><a href="SQLConstructor/BasicDelete_mysql.html#method-c-new">::new — SQLConstructor::BasicDelete_mysql</a></li>
|
131
|
+
|
132
|
+
<li><a href="SQLExporter.html#method-c-new">::new — SQLExporter</a></li>
|
133
|
+
|
134
|
+
<li><a href="SQLConstructor/BasicSelect_mysql.html#method-c-new">::new — SQLConstructor::BasicSelect_mysql</a></li>
|
135
|
+
|
136
|
+
<li><a href="SQLConstructor/BasicUpdate.html#method-c-new">::new — SQLConstructor::BasicUpdate</a></li>
|
137
|
+
|
138
|
+
<li><a href="SQLConstructor/BasicInsert.html#method-c-new">::new — SQLConstructor::BasicInsert</a></li>
|
139
|
+
|
140
|
+
<li><a href="SQLConstructor/BasicDelete.html#method-c-new">::new — SQLConstructor::BasicDelete</a></li>
|
141
|
+
|
142
|
+
<li><a href="SQLConstructor/BasicJoin.html#method-c-new">::new — SQLConstructor::BasicJoin</a></li>
|
143
|
+
|
144
|
+
<li><a href="SQLConstructor/BasicSelect_example.html#method-c-new">::new — SQLConstructor::BasicSelect_example</a></li>
|
145
|
+
|
146
|
+
<li><a href="SQLConditional/BasicCond.html#method-c-new">::new — SQLConditional::BasicCond</a></li>
|
147
|
+
|
148
|
+
<li><a href="SQLConstructor/BasicUnion.html#method-c-new">::new — SQLConstructor::BasicUnion</a></li>
|
149
|
+
|
150
|
+
<li><a href="SQLConditional.html#method-c-new">::new — SQLConditional</a></li>
|
151
|
+
|
152
|
+
<li><a href="SQLConstructor/BasicSelect.html#method-c-new">::new — SQLConstructor::BasicSelect</a></li>
|
153
|
+
|
154
|
+
<li><a href="SQLValList.html#method-c-new">::new — SQLValList</a></li>
|
155
|
+
|
156
|
+
<li><a href="SQLCondList.html#method-i-3C-3C">#<< — SQLCondList</a></li>
|
157
|
+
|
158
|
+
<li><a href="SQLValList.html#method-i-3C-3C">#<< — SQLValList</a></li>
|
159
|
+
|
160
|
+
<li><a href="SQLAliasedList.html#method-i-3C-3C">#<< — SQLAliasedList</a></li>
|
161
|
+
|
162
|
+
<li><a href="SQLAliasedList.html#method-i-5B-5D">#[] — SQLAliasedList</a></li>
|
163
|
+
|
164
|
+
<li><a href="SQLConditional.html#method-i-_addBasicCond">#_addBasicCond — SQLConditional</a></li>
|
165
|
+
|
166
|
+
<li><a href="SQLConstructor/BasicSelect_mysql.html#method-i-_addIndexes">#_addIndexes — SQLConstructor::BasicSelect_mysql</a></li>
|
167
|
+
|
168
|
+
<li><a href="SQLConstructor/BasicJoin_mysql.html#method-i-_addIndexes">#_addIndexes — SQLConstructor::BasicJoin_mysql</a></li>
|
169
|
+
|
170
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-i-_addJoin">#_addJoin — SQLConstructor::GenericQuery</a></li>
|
171
|
+
|
172
|
+
<li><a href="SQLValue.html#method-i-_escape">#_escape — SQLValue</a></li>
|
173
|
+
|
174
|
+
<li><a href="SQLConstructor/BasicUnion.html#method-i-_get">#_get — SQLConstructor::BasicUnion</a></li>
|
175
|
+
|
176
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-i-_get">#_get — SQLConstructor::GenericQuery</a></li>
|
177
|
+
|
178
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-i-_getBasicClass">#_getBasicClass — SQLConstructor::GenericQuery</a></li>
|
179
|
+
|
180
|
+
<li><a href="SQLConstructor.html#method-i-_getGenericQuery">#_getGenericQuery — SQLConstructor</a></li>
|
181
|
+
|
182
|
+
<li><a href="SQLAliasedList.html#method-i-_getList">#_getList — SQLAliasedList</a></li>
|
183
|
+
|
184
|
+
<li><a href="SQLAliasedList.html#method-i-_hash2array">#_hash2array — SQLAliasedList</a></li>
|
185
|
+
|
186
|
+
<li><a href="SQLObject.html#method-i-_name">#_name — SQLObject</a></li>
|
187
|
+
|
188
|
+
<li><a href="SQLColumn.html#method-i-_prepareName">#_prepareName — SQLColumn</a></li>
|
189
|
+
|
190
|
+
<li><a href="SQLValue.html#method-i-_quoteString">#_quoteString — SQLValue</a></li>
|
191
|
+
|
192
|
+
<li><a href="SQLConstructor/BasicUnion.html#method-i-_remove">#_remove — SQLConstructor::BasicUnion</a></li>
|
193
|
+
|
194
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-i-_remove">#_remove — SQLConstructor::GenericQuery</a></li>
|
195
|
+
|
196
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-i-_setMethods">#_setMethods — SQLConstructor::GenericQuery</a></li>
|
197
|
+
|
198
|
+
<li><a href="SQLObject.html#method-i-_string">#_string — SQLObject</a></li>
|
199
|
+
|
200
|
+
<li><a href="SQLObject.html#method-i-_string-3D">#_string= — SQLObject</a></li>
|
201
|
+
|
202
|
+
<li><a href="SQLConditional.html#method-i-and">#and — SQLConditional</a></li>
|
203
|
+
|
204
|
+
<li><a href="SQLExporter/Exporter_mysql.html#method-i-attr_from">#attr_from — SQLExporter::Exporter_mysql</a></li>
|
205
|
+
|
206
|
+
<li><a href="SQLConstructor.html#method-i-delete">#delete — SQLConstructor</a></li>
|
207
|
+
|
208
|
+
<li><a href="SQLConstructorTest.html#method-i-delete1">#delete1 — SQLConstructorTest</a></li>
|
209
|
+
|
210
|
+
<li><a href="SQLAliasedList.html#method-i-delete_if">#delete_if — SQLAliasedList</a></li>
|
211
|
+
|
212
|
+
<li><a href="SQLAliasedList.html#method-i-each">#each — SQLAliasedList</a></li>
|
213
|
+
|
214
|
+
<li><a href="SQLAliasedList.html#method-i-each_with_index">#each_with_index — SQLAliasedList</a></li>
|
215
|
+
|
216
|
+
<li><a href="SQLConditional.html#method-i-eq">#eq — SQLConditional</a></li>
|
217
|
+
|
218
|
+
<li><a href="SQLExporter/Exporter_generic.html#method-i-export">#export — SQLExporter::Exporter_generic</a></li>
|
219
|
+
|
220
|
+
<li><a href="SQLExporter.html#method-i-export">#export — SQLExporter</a></li>
|
221
|
+
|
222
|
+
<li><a href="SQLAliasedList.html#method-i-find">#find — SQLAliasedList</a></li>
|
223
|
+
|
224
|
+
<li><a href="SQLExporter/Exporter_generic.html#method-i-gen_joins">#gen_joins — SQLExporter::Exporter_generic</a></li>
|
225
|
+
|
226
|
+
<li><a href="SQLConditional.html#method-i-gt">#gt — SQLConditional</a></li>
|
227
|
+
|
228
|
+
<li><a href="SQLConditional.html#method-i-gte">#gte — SQLConditional</a></li>
|
229
|
+
|
230
|
+
<li><a href="SQLConditional.html#method-i-in">#in — SQLConditional</a></li>
|
231
|
+
|
232
|
+
<li><a href="SQLConstructor.html#method-i-insert">#insert — SQLConstructor</a></li>
|
233
|
+
|
234
|
+
<li><a href="SQLConstructorTest.html#method-i-insert1">#insert1 — SQLConstructorTest</a></li>
|
235
|
+
|
236
|
+
<li><a href="SQLConditional.html#method-i-is">#is — SQLConditional</a></li>
|
237
|
+
|
238
|
+
<li><a href="SQLConditional.html#method-i-is_not_null">#is_not_null — SQLConditional</a></li>
|
239
|
+
|
240
|
+
<li><a href="SQLConditional.html#method-i-is_null">#is_null — SQLConditional</a></li>
|
241
|
+
|
242
|
+
<li><a href="SQLConstructor/BasicJoin.html#method-i-join_more">#join_more — SQLConstructor::BasicJoin</a></li>
|
243
|
+
|
244
|
+
<li><a href="SQLAliasedList.html#method-i-length">#length — SQLAliasedList</a></li>
|
245
|
+
|
246
|
+
<li><a href="SQLConditional.html#method-i-like">#like — SQLConditional</a></li>
|
247
|
+
|
248
|
+
<li><a href="SQLConditional.html#method-i-lt">#lt — SQLConditional</a></li>
|
249
|
+
|
250
|
+
<li><a href="SQLConditional.html#method-i-lte">#lte — SQLConditional</a></li>
|
251
|
+
|
252
|
+
<li><a href="SQLConditional.html#method-i-method_missing">#method_missing — SQLConditional</a></li>
|
253
|
+
|
254
|
+
<li><a href="SQLConstructor/BasicUnion.html#method-i-method_missing">#method_missing — SQLConstructor::BasicUnion</a></li>
|
255
|
+
|
256
|
+
<li><a href="SQLConstructor/BasicSelect_mysql.html#method-i-method_missing">#method_missing — SQLConstructor::BasicSelect_mysql</a></li>
|
257
|
+
|
258
|
+
<li><a href="SQLExporter/Exporter_generic.html#method-i-method_missing">#method_missing — SQLExporter::Exporter_generic</a></li>
|
259
|
+
|
260
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-i-method_missing">#method_missing — SQLConstructor::GenericQuery</a></li>
|
261
|
+
|
262
|
+
<li><a href="SQLConstructor/BasicSelect_example.html#method-i-method_missing">#method_missing — SQLConstructor::BasicSelect_example</a></li>
|
263
|
+
|
264
|
+
<li><a href="SQLConstructor/BasicJoin_mysql.html#method-i-method_missing">#method_missing — SQLConstructor::BasicJoin_mysql</a></li>
|
265
|
+
|
266
|
+
<li><a href="SQLConstructor.html#method-i-method_missing">#method_missing — SQLConstructor</a></li>
|
267
|
+
|
268
|
+
<li><a href="SQLConstructor/BasicDelete_mysql.html#method-i-method_missing">#method_missing — SQLConstructor::BasicDelete_mysql</a></li>
|
269
|
+
|
270
|
+
<li><a href="SQLConditional.html#method-i-ne">#ne — SQLConditional</a></li>
|
271
|
+
|
272
|
+
<li><a href="SQLConditional.html#method-i-not">#not — SQLConditional</a></li>
|
273
|
+
|
274
|
+
<li><a href="SQLConditional.html#method-i-not_in">#not_in — SQLConditional</a></li>
|
275
|
+
|
276
|
+
<li><a href="SQLConditional.html#method-i-not_is">#not_is — SQLConditional</a></li>
|
277
|
+
|
278
|
+
<li><a href="SQLConditional.html#method-i-not_like">#not_like — SQLConditional</a></li>
|
279
|
+
|
280
|
+
<li><a href="SQLConditional.html#method-i-or">#or — SQLConditional</a></li>
|
281
|
+
|
282
|
+
<li><a href="SQLAliasedList.html#method-i-push">#push — SQLAliasedList</a></li>
|
283
|
+
|
284
|
+
<li><a href="SQLConstructor.html#method-i-select">#select — SQLConstructor</a></li>
|
285
|
+
|
286
|
+
<li><a href="SQLAliasedList.html#method-i-select">#select — SQLAliasedList</a></li>
|
287
|
+
|
288
|
+
<li><a href="SQLConstructorTest.html#method-i-select1">#select1 — SQLConstructorTest</a></li>
|
289
|
+
|
290
|
+
<li><a href="SQLConstructorTest.html#method-i-select2">#select2 — SQLConstructorTest</a></li>
|
291
|
+
|
292
|
+
<li><a href="SQLConstructor/BasicSelect.html#method-i-select_more">#select_more — SQLConstructor::BasicSelect</a></li>
|
293
|
+
|
294
|
+
<li><a href="SQLConstructorTest.html#method-i-test_delete1">#test_delete1 — SQLConstructorTest</a></li>
|
295
|
+
|
296
|
+
<li><a href="SQLConstructorTest.html#method-i-test_insert1">#test_insert1 — SQLConstructorTest</a></li>
|
297
|
+
|
298
|
+
<li><a href="SQLConstructorTest.html#method-i-test_select1">#test_select1 — SQLConstructorTest</a></li>
|
299
|
+
|
300
|
+
<li><a href="SQLConstructorTest.html#method-i-test_select2">#test_select2 — SQLConstructorTest</a></li>
|
301
|
+
|
302
|
+
<li><a href="SQLConstructorTest.html#method-i-test_update1">#test_update1 — SQLConstructorTest</a></li>
|
303
|
+
|
304
|
+
<li><a href="SQLValList.html#method-i-to_s">#to_s — SQLValList</a></li>
|
305
|
+
|
306
|
+
<li><a href="SQLCondList.html#method-i-to_s">#to_s — SQLCondList</a></li>
|
307
|
+
|
308
|
+
<li><a href="SQLConstructor/QAttr.html#method-i-to_s">#to_s — SQLConstructor::QAttr</a></li>
|
309
|
+
|
310
|
+
<li><a href="SQLConditional/BasicCond.html#method-i-to_s">#to_s — SQLConditional::BasicCond</a></li>
|
311
|
+
|
312
|
+
<li><a href="SQLValue.html#method-i-to_s">#to_s — SQLValue</a></li>
|
313
|
+
|
314
|
+
<li><a href="SQLConstructor.html#method-i-to_s">#to_s — SQLConstructor</a></li>
|
315
|
+
|
316
|
+
<li><a href="SQLConstructor/BasicJoin_mysql.html#method-i-to_s">#to_s — SQLConstructor::BasicJoin_mysql</a></li>
|
317
|
+
|
318
|
+
<li><a href="SQLConstructor/BasicJoin.html#method-i-to_s">#to_s — SQLConstructor::BasicJoin</a></li>
|
319
|
+
|
320
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-i-to_s">#to_s — SQLConstructor::GenericQuery</a></li>
|
321
|
+
|
322
|
+
<li><a href="SQLColumn.html#method-i-to_s">#to_s — SQLColumn</a></li>
|
323
|
+
|
324
|
+
<li><a href="SQLConstructor/BasicUnion.html#method-i-to_s">#to_s — SQLConstructor::BasicUnion</a></li>
|
325
|
+
|
326
|
+
<li><a href="SQLObject.html#method-i-to_s">#to_s — SQLObject</a></li>
|
327
|
+
|
328
|
+
<li><a href="SQLAliasedList.html#method-i-to_s">#to_s — SQLAliasedList</a></li>
|
329
|
+
|
330
|
+
<li><a href="SQLConditional.html#method-i-to_s">#to_s — SQLConditional</a></li>
|
331
|
+
|
332
|
+
<li><a href="SQLConstructor/BasicJoin_mysql.html#method-i-to_sWithAliasesIndexes">#to_sWithAliasesIndexes — SQLConstructor::BasicJoin_mysql</a></li>
|
333
|
+
|
334
|
+
<li><a href="SQLExporter/Exporter_mysql.html#method-i-to_sWithAliasesIndexes">#to_sWithAliasesIndexes — SQLExporter::Exporter_mysql</a></li>
|
335
|
+
|
336
|
+
<li><a href="SQLConstructor/GenericQuery.html#method-i-to_str">#to_str — SQLConstructor::GenericQuery</a></li>
|
337
|
+
|
338
|
+
<li><a href="SQLConditional.html#method-i-to_str">#to_str — SQLConditional</a></li>
|
339
|
+
|
340
|
+
<li><a href="SQLConstructor.html#method-i-to_str">#to_str — SQLConstructor</a></li>
|
341
|
+
|
342
|
+
<li><a href="SQLConstructor.html#method-i-update">#update — SQLConstructor</a></li>
|
343
|
+
|
344
|
+
<li><a href="SQLConstructorTest.html#method-i-update1">#update1 — SQLConstructorTest</a></li>
|
345
|
+
|
346
|
+
<li><a href="SQLConstructor/BasicUpdate.html#method-i-update_more">#update_more — SQLConstructor::BasicUpdate</a></li>
|
347
|
+
|
348
|
+
</ul>
|
349
|
+
|
350
|
+
<div id="validator-badges">
|
351
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
352
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
353
|
+
Rdoc Generator</a> 2</small>.</p>
|
354
|
+
</div>
|
355
|
+
</body>
|
356
|
+
</html>
|
data/doc/js/darkfish.js
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
/**
|
2
|
+
*
|
3
|
+
* Darkfish Page Functions
|
4
|
+
* $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
|
5
|
+
*
|
6
|
+
* Author: Michael Granger <mgranger@laika.com>
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Provide console simulation for firebug-less environments */
|
11
|
+
if (!("console" in window) || !("firebug" in console)) {
|
12
|
+
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
13
|
+
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
14
|
+
|
15
|
+
window.console = {};
|
16
|
+
for (var i = 0; i < names.length; ++i)
|
17
|
+
window.console[names[i]] = function() {};
|
18
|
+
};
|
19
|
+
|
20
|
+
|
21
|
+
/**
|
22
|
+
* Unwrap the first element that matches the given @expr@ from the targets and return them.
|
23
|
+
*/
|
24
|
+
$.fn.unwrap = function( expr ) {
|
25
|
+
return this.each( function() {
|
26
|
+
$(this).parents( expr ).eq( 0 ).after( this ).remove();
|
27
|
+
});
|
28
|
+
};
|
29
|
+
|
30
|
+
|
31
|
+
function showSource( e ) {
|
32
|
+
var target = e.target;
|
33
|
+
var codeSections = $(target).
|
34
|
+
parents('.method-detail').
|
35
|
+
find('.method-source-code');
|
36
|
+
|
37
|
+
$(target).
|
38
|
+
parents('.method-detail').
|
39
|
+
find('.method-source-code').
|
40
|
+
slideToggle();
|
41
|
+
};
|
42
|
+
|
43
|
+
function hookSourceViews() {
|
44
|
+
$('.method-description,.method-heading').click( showSource );
|
45
|
+
};
|
46
|
+
|
47
|
+
function toggleDebuggingSection() {
|
48
|
+
$('.debugging-section').slideToggle();
|
49
|
+
};
|
50
|
+
|
51
|
+
function hookDebuggingToggle() {
|
52
|
+
$('#debugging-toggle img').click( toggleDebuggingSection );
|
53
|
+
};
|
54
|
+
|
55
|
+
function hookQuickSearch() {
|
56
|
+
$('.quicksearch-field').each( function() {
|
57
|
+
var searchElems = $(this).parents('.section').find( 'li' );
|
58
|
+
var toggle = $(this).parents('.section').find('h3 .search-toggle');
|
59
|
+
// console.debug( "Toggle is: %o", toggle );
|
60
|
+
var qsbox = $(this).parents('form').get( 0 );
|
61
|
+
|
62
|
+
$(this).quicksearch( this, searchElems, {
|
63
|
+
noSearchResultsIndicator: 'no-class-search-results',
|
64
|
+
focusOnLoad: false
|
65
|
+
});
|
66
|
+
$(toggle).click( function() {
|
67
|
+
// console.debug( "Toggling qsbox: %o", qsbox );
|
68
|
+
$(qsbox).toggle();
|
69
|
+
});
|
70
|
+
});
|
71
|
+
};
|
72
|
+
|
73
|
+
function highlightTarget( anchor ) {
|
74
|
+
console.debug( "Highlighting target '%s'.", anchor );
|
75
|
+
|
76
|
+
$("a[name]").each( function() {
|
77
|
+
if ( $(this).attr("name") == anchor ) {
|
78
|
+
if ( !$(this).parent().parent().hasClass('target-section') ) {
|
79
|
+
console.debug( "Wrapping the target-section" );
|
80
|
+
$('div.method-detail').unwrap( 'div.target-section' );
|
81
|
+
$(this).parent().wrap( '<div class="target-section"></div>' );
|
82
|
+
} else {
|
83
|
+
console.debug( "Already wrapped." );
|
84
|
+
}
|
85
|
+
}
|
86
|
+
});
|
87
|
+
};
|
88
|
+
|
89
|
+
function highlightLocationTarget() {
|
90
|
+
console.debug( "Location hash: %s", window.location.hash );
|
91
|
+
if ( ! window.location.hash || window.location.hash.length == 0 ) return;
|
92
|
+
|
93
|
+
var anchor = window.location.hash.substring(1);
|
94
|
+
console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
|
95
|
+
|
96
|
+
highlightTarget( anchor );
|
97
|
+
};
|
98
|
+
|
99
|
+
function highlightClickTarget( event ) {
|
100
|
+
console.debug( "Highlighting click target for event %o", event.target );
|
101
|
+
try {
|
102
|
+
var anchor = $(event.target).attr( 'href' ).substring(1);
|
103
|
+
console.debug( "Found target anchor: %s", anchor );
|
104
|
+
highlightTarget( anchor );
|
105
|
+
} catch ( err ) {
|
106
|
+
console.error( "Exception while highlighting: %o", err );
|
107
|
+
};
|
108
|
+
};
|
109
|
+
|
110
|
+
|
111
|
+
$(document).ready( function() {
|
112
|
+
hookSourceViews();
|
113
|
+
hookDebuggingToggle();
|
114
|
+
hookQuickSearch();
|
115
|
+
highlightLocationTarget();
|
116
|
+
|
117
|
+
$('ul.link-list a').bind( "click", highlightClickTarget );
|
118
|
+
});
|