This file is indexed.

/usr/share/gtk-doc/html/libgda-5.0/GdaStatement.html is in libgda-5.0-doc 5.2.4-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdaStatement: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="connection.html" title="Connections &amp; commands">
<link rel="prev" href="GdaSqlBuilder.html" title="GdaSqlBuilder">
<link rel="next" href="libgda-5.0-GdaRepetitiveStatement.html" title="GdaRepetitiveStatement">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GdaStatement.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GdaStatement.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GdaStatement.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#GdaStatement.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="connection.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GdaSqlBuilder.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libgda-5.0-GdaRepetitiveStatement.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GdaStatement"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GdaStatement.top_of_page"></a>GdaStatement</span></h2>
<p>GdaStatement — Single SQL statement</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GdaStatement.stability-level"></a><h2>Stability Level</h2>
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GdaStatement.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GdaStatement.html" title="GdaStatement"><span class="returnvalue">GdaStatement</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-new" title="gda_statement_new ()">gda_statement_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GdaStatement.html" title="GdaStatement"><span class="returnvalue">GdaStatement</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-copy" title="gda_statement_copy ()">gda_statement_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-serialize" title="gda_statement_serialize ()">gda_statement_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-get-parameters" title="gda_statement_get_parameters ()">gda_statement_get_parameters</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-to-sql" title="gda_statement_to_sql()">gda_statement_to_sql</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-to-sql-extended" title="gda_statement_to_sql_extended ()">gda_statement_to_sql_extended</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="returnvalue">GdaSqlStatementType</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-get-statement-type" title="gda_statement_get_statement_type ()">gda_statement_get_statement_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-is-useless" title="gda_statement_is_useless ()">gda_statement_is_useless</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-check-structure" title="gda_statement_check_structure ()">gda_statement_check_structure</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-check-validity" title="gda_statement_check_validity ()">gda_statement_check_validity</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GdaStatement.html#gda-statement-normalize" title="gda_statement_normalize ()">gda_statement_normalize</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaStatement.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody><tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
<td class="property_name"><a class="link" href="GdaStatement.html#GdaStatement--structure" title="The “structure” property">structure</a></td>
<td class="property_flags">Read / Write</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaStatement.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GdaStatement.html#GdaStatement-checked" title="The “checked” signal">checked</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GdaStatement.html#GdaStatement-reset" title="The “reset” signal">reset</a></td>
<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaStatement.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GdaStatement.html#GdaStatement-struct" title="GdaStatement">GdaStatement</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GdaStatement.html#GdaStatementSqlFlag" title="enum GdaStatementSqlFlag">GdaStatementSqlFlag</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GdaStatement.html#GdaStatementModelUsage" title="enum GdaStatementModelUsage">GdaStatementModelUsage</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GdaStatement.html#GdaStatementError" title="enum GdaStatementError">GdaStatementError</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaStatement.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> GdaStatement
</pre>
</div>
<div class="refsect1">
<a name="GdaStatement.description"></a><h2>Description</h2>
<p>The <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> represents a single SQL statement (multiple statements can be grouped in a <a class="link" href="GdaBatch.html" title="GdaBatch"><span class="type">GdaBatch</span></a> object).</p>
<p> A <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> can either be built by describing its constituing parts using a <a class="link" href="GdaSqlBuilder.html" title="GdaSqlBuilder"><span class="type">GdaSqlBuilder</span></a> object,
 or from an SQL statement using a <a class="link" href="GdaSqlParser.html" title="GdaSqlParser"><span class="type">GdaSqlParser</span></a> object.</p>
<p> A <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> can use a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> to:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>prepare it for a future execution, the preparation step involves converting the <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a>
object into a structure used by the database's own API, see <a class="link" href="GdaConnection.html#gda-connection-statement-prepare" title="gda_connection_statement_prepare ()"><code class="function">gda_connection_statement_prepare()</code></a></p></li>
<li class="listitem"><p>execute it using <a class="link" href="GdaConnection.html#gda-connection-statement-execute-select" title="gda_connection_statement_execute_select ()"><code class="function">gda_connection_statement_execute_select()</code></a> if it is known that the statement is a
selection statement, <a class="link" href="GdaConnection.html#gda-connection-statement-execute-non-select" title="gda_connection_statement_execute_non_select ()"><code class="function">gda_connection_statement_execute_non_select()</code></a> if it is not a selection statement, or
<a class="link" href="GdaConnection.html#gda-connection-statement-execute" title="gda_connection_statement_execute ()"><code class="function">gda_connection_statement_execute()</code></a> when the type of expected result is unknown.</p></li>
</ul></div>
<p> Note that it is possible to use the same <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object at the same time with several <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> objects.</p>
</div>
<div class="refsect1">
<a name="GdaStatement.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gda-statement-new"></a><h3>gda_statement_new ()</h3>
<pre class="programlisting"><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="returnvalue">GdaStatement</span></a> *
gda_statement_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p>
<div class="refsect3">
<a name="gda-statement-new.returns"></a><h4>Returns</h4>
<p> the new object</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-copy"></a><h3>gda_statement_copy ()</h3>
<pre class="programlisting"><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="returnvalue">GdaStatement</span></a> *
gda_statement_copy (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *orig</code></em>);</pre>
<p>Copy constructor</p>
<div class="refsect3">
<a name="gda-statement-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>orig</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> to make a copy of</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-copy.returns"></a><h4>Returns</h4>
<p> a the new copy of <em class="parameter"><code>orig</code></em>
. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-serialize"></a><h3>gda_statement_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_statement_serialize (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt</code></em>);</pre>
<p>Creates a string representing the contents of <em class="parameter"><code>stmt</code></em>
.</p>
<div class="refsect3">
<a name="gda-statement-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-serialize.returns"></a><h4>Returns</h4>
<p> a string containing the serialized version of <em class="parameter"><code>stmt</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-get-parameters"></a><h3>gda_statement_get_parameters ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_statement_get_parameters (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt</code></em>,
                              <em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> **out_params</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Get a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object which groups all the execution parameters
which <em class="parameter"><code>stmt</code></em>
 needs. This new object is returned though <em class="parameter"><code>out_params</code></em>
.</p>
<p>Note that if <em class="parameter"><code>stmt</code></em>
 does not need any parameter, then <em class="parameter"><code>out_params</code></em>
 is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
<div class="refsect3">
<a name="gda-statement-get-parameters.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_params</p></td>
<td class="parameter_description"><p> a place to store a new <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-get-parameters.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-to-sql"></a><h3>gda_statement_to_sql()</h3>
<pre class="programlisting">#define             gda_statement_to_sql(stmt,params,error) gda_statement_to_sql_extended ((stmt), NULL, (params), GDA_STATEMENT_SQL_PARAMS_SHORT, NULL, (error))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-to-sql-extended"></a><h3>gda_statement_to_sql_extended ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_statement_to_sql_extended (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt</code></em>,
                               <em class="parameter"><code><a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> *cnc</code></em>,
                               <em class="parameter"><code><a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> *params</code></em>,
                               <em class="parameter"><code><a class="link" href="GdaStatement.html#GdaStatementSqlFlag" title="enum GdaStatementSqlFlag"><span class="type">GdaStatementSqlFlag</span></a> flags</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **params_used</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Renders <em class="parameter"><code>stmt</code></em>
 as an SQL statement, with some control on how it is rendered.</p>
<p>If <em class="parameter"><code>cnc</code></em>
 is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the rendered SQL will better be suited to be used by <em class="parameter"><code>cnc</code></em>
 (in particular
it may include some SQL tweaks and/or proprietary extensions specific to the database engine used by <em class="parameter"><code>cnc</code></em>
):
in this case the result is similar to calling <a class="link" href="GdaConnection.html#gda-connection-statement-to-sql" title="gda_connection_statement_to_sql ()"><code class="function">gda_connection_statement_to_sql()</code></a>.</p>
<div class="refsect3">
<a name="gda-statement-to-sql-extended.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cnc</p></td>
<td class="parameter_description"><p> a <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> object, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>params</p></td>
<td class="parameter_description"><p> parameters contained in a single <a class="link" href="GdaSet.html" title="GdaSet"><span class="type">GdaSet</span></a> object, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>a set of flags to control the rendering</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>params_used</p></td>
<td class="parameter_description"><p>a place to store the list of actual <a class="link" href="GdaHolder.html" title="GdaHolder"><span class="type">GdaHolder</span></a> objects in <em class="parameter"><code>params</code></em>
used to do the rendering, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> GdaHolder][<a href="http://foldoc.org/out"><span class="acronym">out</span></a>][<a href="http://foldoc.org/transfer%20container"><span class="acronym">transfer container</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-to-sql-extended.returns"></a><h4>Returns</h4>
<p> a new string if no error occurred. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-get-statement-type"></a><h3>gda_statement_get_statement_type ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="returnvalue">GdaSqlStatementType</span></a>
gda_statement_get_statement_type (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt</code></em>);</pre>
<p>Get the type of statement held by <em class="parameter"><code>stmt</code></em>
. It returns GDA_SQL_STATEMENT_NONE if
<em class="parameter"><code>stmt</code></em>
 does not hold any statement</p>
<div class="refsect3">
<a name="gda-statement-get-statement-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-get-statement-type.returns"></a><h4>Returns</h4>
<p> the statement type. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-is-useless"></a><h3>gda_statement_is_useless ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_statement_is_useless (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt</code></em>);</pre>
<p>Tells if <em class="parameter"><code>stmt</code></em>
 is composed only of spaces (that is it has no real SQL code), and is completely
useless as such.</p>
<div class="refsect3">
<a name="gda-statement-is-useless.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-is-useless.returns"></a><h4>Returns</h4>
<p> TRUE if executing <em class="parameter"><code>stmt</code></em>
does nothing</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-check-structure"></a><h3>gda_statement_check_structure ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_statement_check_structure (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Checks that <em class="parameter"><code>stmt</code></em>
's structure is correct.</p>
<div class="refsect3">
<a name="gda-statement-check-structure.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-check-structure.returns"></a><h4>Returns</h4>
<p> TRUE if <em class="parameter"><code>stmt</code></em>
's structure is correct</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-check-validity"></a><h3>gda_statement_check_validity ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_statement_check_validity (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt</code></em>,
                              <em class="parameter"><code><a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> *cnc</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>If <em class="parameter"><code>cnc</code></em>
 is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then checks that every object (table, field, function) used in <em class="parameter"><code>stmt</code></em>
 
actually exists in <em class="parameter"><code>cnc</code></em>
's database</p>
<p>If <em class="parameter"><code>cnc</code></em>
 is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then cleans anything related to <em class="parameter"><code>cnc</code></em>
 in <em class="parameter"><code>stmt</code></em>
.</p>
<p>See <a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-check-validity" title="gda_sql_statement_check_validity ()"><code class="function">gda_sql_statement_check_validity()</code></a> for more information.</p>
<div class="refsect3">
<a name="gda-statement-check-validity.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cnc</p></td>
<td class="parameter_description"><p> a <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> object, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-check-validity.returns"></a><h4>Returns</h4>
<p> TRUE if every object actually exists in <em class="parameter"><code>cnc</code></em>
's database</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-statement-normalize"></a><h3>gda_statement_normalize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_statement_normalize (<em class="parameter"><code><a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt</code></em>,
                         <em class="parameter"><code><a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> *cnc</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>"Normalizes" some parts of <em class="parameter"><code>stmt</code></em>
, see <a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-normalize" title="gda_sql_statement_normalize ()"><code class="function">gda_sql_statement_normalize()</code></a> for more
information.</p>
<div class="refsect3">
<a name="gda-statement-normalize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cnc</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-statement-normalize.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GdaStatement.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GdaStatement-struct"></a><h3>GdaStatement</h3>
<pre class="programlisting">typedef struct _GdaStatement GdaStatement;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaStatementSqlFlag"></a><h3>enum GdaStatementSqlFlag</h3>
<p>Specifies rendering options</p>
<div class="refsect3">
<a name="GdaStatementSqlFlag.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-PARAMS-AS-VALUES:CAPS"></a>GDA_STATEMENT_SQL_PARAMS_AS_VALUES</p></td>
<td class="enum_member_description">
<p>rendering will replace parameters with their values</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-PRETTY:CAPS"></a>GDA_STATEMENT_SQL_PRETTY</p></td>
<td class="enum_member_description">
<p>rendering will include newlines and indentation to make it easy to read</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-PARAMS-LONG:CAPS"></a>GDA_STATEMENT_SQL_PARAMS_LONG</p></td>
<td class="enum_member_description">
<p>parameters will be rendered using the "/* name:&lt;param_name&gt; ... */" syntax</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-PARAMS-SHORT:CAPS"></a>GDA_STATEMENT_SQL_PARAMS_SHORT</p></td>
<td class="enum_member_description">
<p>parameters will be rendered using the "##&lt;param_name&gt;..." syntax</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-PARAMS-AS-COLON:CAPS"></a>GDA_STATEMENT_SQL_PARAMS_AS_COLON</p></td>
<td class="enum_member_description">
<p>parameters will be rendered using the ":&lt;param_name&gt;" syntax</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-PARAMS-AS-DOLLAR:CAPS"></a>GDA_STATEMENT_SQL_PARAMS_AS_DOLLAR</p></td>
<td class="enum_member_description">
<p>parameters will be rendered using the "$&lt;param_number&gt;" syntax where parameters are numbered starting from 1</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-PARAMS-AS-QMARK:CAPS"></a>GDA_STATEMENT_SQL_PARAMS_AS_QMARK</p></td>
<td class="enum_member_description">
<p>parameters will be rendered using the "?&lt;param_number&gt;" syntax where parameters are numbered starting from 1</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-PARAMS-AS-UQMARK:CAPS"></a>GDA_STATEMENT_SQL_PARAMS_AS_UQMARK</p></td>
<td class="enum_member_description">
<p>parameters will be rendered using the "?" syntax</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SQL-TIMEZONE-TO-GMT:CAPS"></a>GDA_STATEMENT_SQL_TIMEZONE_TO_GMT</p></td>
<td class="enum_member_description">
<p>time and timestamp with a timezone information are converted to GMT before rendering, and rendering does not show the timezone information</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaStatementModelUsage"></a><h3>enum GdaStatementModelUsage</h3>
<p>These flags specify how the <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> returned when executing a <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> will be used</p>
<div class="refsect3">
<a name="GdaStatementModelUsage.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-MODEL-RANDOM-ACCESS:CAPS"></a>GDA_STATEMENT_MODEL_RANDOM_ACCESS</p></td>
<td class="enum_member_description">
<p>access to the data model will be random (usually this will result in a data model completely stored in memory)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-MODEL-CURSOR-FORWARD:CAPS"></a>GDA_STATEMENT_MODEL_CURSOR_FORWARD</p></td>
<td class="enum_member_description">
<p>access to the data model will be done using a cursor moving forward</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-MODEL-CURSOR-BACKWARD:CAPS"></a>GDA_STATEMENT_MODEL_CURSOR_BACKWARD</p></td>
<td class="enum_member_description">
<p>access to the data model will be done using a cursor moving backward</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-MODEL-CURSOR:CAPS"></a>GDA_STATEMENT_MODEL_CURSOR</p></td>
<td class="enum_member_description">
<p>access to the data model will be done using a cursor (moving both forward and backward)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-MODEL-ALLOW-NOPARAM:CAPS"></a>GDA_STATEMENT_MODEL_ALLOW_NOPARAM</p></td>
<td class="enum_member_description">
<p>specifies that the data model should be executed even if some parameters required to execute it are invalid (in this case the data model will have no row, and will automatically be re-run when the missing parameters are once again valid)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-MODEL-OFFLINE:CAPS"></a>GDA_STATEMENT_MODEL_OFFLINE</p></td>
<td class="enum_member_description">
<p>specifies that the data model's contents will be fully loaded into the client side (the memory of the process using Libgda), not requiring the server any more to access the data (the default behaviour is to access the server any time data is to be read, and data is cached in memory). This flag is useful only if used in conjunction with the GDA_STATEMENT_MODEL_RANDOM_ACCESS flag (otherwise an error will be returned).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaStatementError"></a><h3>enum GdaStatementError</h3>
<div class="refsect3">
<a name="GdaStatementError.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-PARSE-ERROR:CAPS"></a>GDA_STATEMENT_PARSE_ERROR</p></td>
<td class="enum_member_description"> </td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-SYNTAX-ERROR:CAPS"></a>GDA_STATEMENT_SYNTAX_ERROR</p></td>
<td class="enum_member_description"> </td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-NO-CNC-ERROR:CAPS"></a>GDA_STATEMENT_NO_CNC_ERROR</p></td>
<td class="enum_member_description"> </td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-CNC-CLOSED-ERROR:CAPS"></a>GDA_STATEMENT_CNC_CLOSED_ERROR</p></td>
<td class="enum_member_description"> </td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-EXEC-ERROR:CAPS"></a>GDA_STATEMENT_EXEC_ERROR</p></td>
<td class="enum_member_description"> </td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-PARAM-TYPE-ERROR:CAPS"></a>GDA_STATEMENT_PARAM_TYPE_ERROR</p></td>
<td class="enum_member_description"> </td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-STATEMENT-PARAM-ERROR:CAPS"></a>GDA_STATEMENT_PARAM_ERROR</p></td>
<td class="enum_member_description"> </td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GdaStatement.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GdaStatement--structure"></a><h3>The <code class="literal">“structure”</code> property</h3>
<pre class="programlisting">  “structure”                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
<p>Flags: Read / Write</p>
</div>
</div>
<div class="refsect1">
<a name="GdaStatement.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GdaStatement-checked"></a><h3>The <code class="literal">“checked”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a>  *stmt,
               <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> *arg1,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>       arg2,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
<p>Gets emitted whenever the structure and contents
of <em class="parameter"><code>stmt</code></em>
 have been verified (emitted after <a class="link" href="GdaStatement.html#gda-statement-check-validity" title="gda_statement_check_validity ()"><code class="function">gda_statement_check_validity()</code></a>).</p>
<div class="refsect3">
<a name="GdaStatement-checked.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GdaStatement-reset"></a><h3>The <code class="literal">“reset”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> *stmt,
               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
<p>Gets emitted whenever the <em class="parameter"><code>stmt</code></em>
 has changed</p>
<div class="refsect3">
<a name="GdaStatement-reset.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
</div>
<div class="refsect1">
<a name="GdaStatement.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GdaBatch.html" title="GdaBatch"><span class="type">GdaBatch</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>