File: index_values.html

package info (click to toggle)
mysql-ocaml 1.0.4-2%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 728 kB
  • ctags: 717
  • sloc: sh: 2,278; ml: 599; ansic: 531; makefile: 74; perl: 41
file content (307 lines) | stat: -rw-r--r-- 13,396 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="Start" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Mysql" rel="Chapter" href="Mysql.html"><title>Index of values</title>
</head>
<body>
<center><h1>Index of values</h1></center>
<table>
<tr><td align="left"><br>A</td></tr>
<tr><td><a href="Mysql.html#VALaffected">affected</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">affected result</code> returns the number of rows changed by the last
  UPDATE, or deleted by the last DELETE, or added by the last INSERT,
  or the number of rows returned by the last SELECT
</div>
</td></tr>
<tr><td align="left"><br>B</td></tr>
<tr><td><a href="Mysql.html#VALblob2ml">blob2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Use for all MySQL BLOB and TEXT types
</div>
</td></tr>
<tr><td align="left"><br>C</td></tr>
<tr><td><a href="Mysql.html#VALchange_user">change_user</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">change_user dbd db</code> tries to change the current user and database.
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALclient_info">client_info</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Return the MySQL client library version
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALcolumn">column</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Returns one field of a result row based on column name.
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALconnect">connect</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">connect db</code> connects to the database <code class="code">db</code> and returns a handle for
   further user
</div>
</td></tr>
<tr><td align="left"><br>D</td></tr>
<tr><td><a href="Mysql.html#VALdate2ml">date2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALdatetime2ml">datetime2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALdecimal2ml">decimal2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALdefaults">defaults</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Login information using all defaults
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALdisconnect">disconnect</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">disconnect dbd</code> releases a database connection <code class="code">dbd</code>.
</div>
</td></tr>
<tr><td align="left"><br>E</td></tr>
<tr><td><a href="Mysql.html#VALenum2ml">enum2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALerrmsg">errmsg</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">errmsg dbd</code> returns an error message in case the last operation on <code class="code">dbd</code> 
   failed
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALerrno">errno</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">errno dbd</code> returns the error_code for the last action on <code class="code">dbd</code>.
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALescape">escape</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">escape str</code> returns the same string as <code class="code">str</code> in MySQL syntax with
  special characters quoted to not confuse the MySQL parser
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALexec">exec</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">exec dbd str</code> executes a SQL statement and returns a handle to obtain 
   the result.
</div>
</td></tr>
<tr><td align="left"><br>F</td></tr>
<tr><td><a href="Mysql.html#VALfetch">fetch</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">fetch result</code> returns the next row from a result as <code class="code">Some a</code> or <code class="code">None</code> 
   in case there is no next result.
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALfetch_field">fetch_field</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Returns the information on the next field
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALfetch_field_dir">fetch_field_dir</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Returns information on a specific field, with the first field numbered 0
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALfetch_fields">fetch_fields</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Returns information on all the fields
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALfields">fields</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">fields result</code> returns the number of fields in a row
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALfloat2ml">float2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Use for MySQL FLOAT, DOUBLE and REAL types
</div>
</td></tr>
<tr><td align="left"><br>H</td></tr>
<tr><td><a href="Mysql.html#VALhost_info">host_info</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Return information about the server connection
</div>
</td></tr>
<tr><td align="left"><br>I</td></tr>
<tr><td><a href="Mysql.html#VALinsert_id">insert_id</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">insert_id result</code> returns the ID generated by the last INSERT
query in a table with an AUTO_INCREMENT column.
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALint2ml">int2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Use for all MySQL signed integer types but BIGINT
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALint322ml">int322ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALint642ml">int642ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALiter">iter</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALiter_col">iter_col</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALiter_cols">iter_cols</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td align="left"><br>L</td></tr>
<tr><td><a href="Mysql.html#VALlist_dbs">list_dbs</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">list_db</code> Return a list of all visible databases on the current server
</div>
</td></tr>
<tr><td align="left"><br>M</td></tr>
<tr><td><a href="Mysql.html#VALmap">map</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALmap_col">map_col</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALmap_cols">map_cols</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2blob">ml2blob</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2date">ml2date</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2datel">ml2datel</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2datetime">ml2datetime</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2datetimel">ml2datetimel</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2decimal">ml2decimal</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2enum">ml2enum</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2float">ml2float</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2int">ml2int</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2set">ml2set</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2str">ml2str</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2time">ml2time</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2timel">ml2timel</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2timestamp">ml2timestamp</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2timestampl">ml2timestampl</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml2year">ml2year</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml322int">ml322int</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALml642int">ml642int</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td align="left"><br>N</td></tr>
<tr><td><a href="Mysql.html#VALnames">names</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">names result</code> returns an array of the field names for the current result
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALnativeint2ml">nativeint2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALnot_null">not_null</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">not_null f v</code> applies <code class="code">f</code> to <code class="code">Some v</code>.
</div>
</td></tr>
<tr><td align="left"><br>O</td></tr>
<tr><td><a href="Mysql.html#VALopt">opt</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">opt f v</code> applies <code class="code">f</code> to optional value <code class="code">v</code>.
</div>
</td></tr>
<tr><td align="left"><br>P</td></tr>
<tr><td><a href="Mysql.html#VALping">ping</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">ping dbd</code> makes sure the connection to the server is up, and
   re-establishes it if needed.
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALpretty_type">pretty_type</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Turn a field-type type into a string for printing
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALproto_info">proto_info</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Return the protocol version being used
</div>
</td></tr>
<tr><td align="left"><br>Q</td></tr>
<tr><td><a href="Mysql.html#VALquick_change">quick_change</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Another shortcut
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALquick_connect">quick_connect</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Shortcut for connecting to a database with mostly default field values
</div>
</td></tr>
<tr><td align="left"><br>S</td></tr>
<tr><td><a href="Mysql.html#VALselect_db">select_db</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">select_db</code> Switch to a new db, using the current user and password.
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALserver_info">server_info</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Return the MySQL server version
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALset2ml">set2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALsize">size</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">size result</code> returns the size of the actual result set (number of 
   rows)
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALstatus">status</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">status dbd</code> returns the status of the last action on <code class="code">dbd</code>
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALstr2ml">str2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
Use for MySQL CHAR and VARCHAR types
</div>
</td></tr>
<tr><td align="left"><br>T</td></tr>
<tr><td><a href="Mysql.html#VALtime2ml">time2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALtimestamp2ml">timestamp2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
<tr><td><a href="Mysql.html#VALto_row">to_row</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">to_row result row</code> sets the current row.
</div>
</td></tr>
<tr><td><a href="Mysql.html#VALtypes">types</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">types result</code> returns an array with the MySQL types of the current 
  result
</div>
</td></tr>
<tr><td align="left"><br>V</td></tr>
<tr><td><a href="Mysql.html#VALvalues">values</a> [<a href="Mysql.html">Mysql</a>]</td>
<td><div class="info">
<code class="code">values vs</code> takes a list of strings and returns a string
  "(a,b,c ..)" where values are separated by comma and the whole
  list is enclosed into parentheses.
</div>
</td></tr>
<tr><td align="left"><br>Y</td></tr>
<tr><td><a href="Mysql.html#VALyear2ml">year2ml</a> [<a href="Mysql.html">Mysql</a>]</td>
<td></td></tr>
</table><br>
</body>
</html>