File: sqltypes.xml

package info (click to toggle)
fpc 3.0.4%2Bdfsg-22
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 291,080 kB
  • sloc: pascal: 3,216,108; xml: 161,992; ansic: 9,637; asm: 8,297; java: 5,346; sh: 4,137; yacc: 3,747; php: 3,283; makefile: 2,711; lex: 2,538; sql: 267; cpp: 145; perl: 134; sed: 132; csh: 34; tcl: 7
file content (364 lines) | stat: -rw-r--r-- 11,498 bytes parent folder | download
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
<?xml version="1.0" encoding="ISO-8859-1"?>
<fpdoc-descriptions>
<package name="fcl">

<!--
  ====================================================================
    sqltypes
  ====================================================================
-->

<module name="sqltypes">
<short>Types used in various SQL related units</short>
<descr>
</descr>

<!-- enumeration type Visibility: default -->
<element name="TSchemaType">
<short>Schema type to retrieve</short>
<descr>
<var>TSchemaType</var> describes which schema information to retrieve in the
<link id="TCustomSQLQuery.SetSchemaInfo"/> call. Depending on its value,
the result set of the dataset will have different fields, describing the
requested schema data. The result data will always have the same structure.
</descr>
<seealso>
<link id="RetrievingSchemaInformation"/>
<link id="TCustomSQLQuery.SetSchemaInfo"/>
</seealso>
</element>

<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stNoSchema">
<short>No schema</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stTables">
<short>User Tables in database</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stSysTables">
<short>System tables in database</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stProcedures">
<short>Stored procedures in database</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stColumns">
<short>Columns in a table</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stProcedureParams">
<short>Parameters for a stored procedure</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stIndexes">
<short>Indexes for a table</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stPackages">
<short>Packages (for databases that support them)</short>
</element>

<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stSchemata">
<short>List of schemas in database(s)  (for databases that support them)</short>
</element>


<!-- enumeration value Visibility: default -->
<element name="TSchemaType.stSequences">
<short>Sequences (for databases that support them)</short>
</element>
<!-- enumeration type Visibility: default -->
<element name="TStatementType">
<short>Type describing the kind of SQL statement</short>
<descr>
<var>TStatementType</var> describes the kind of SQL statement that was
enteredin the <var>SQL</var> property of a <link id="TSQLQuery"/> component.
</descr>
<seealso/>
</element>

<!-- enumeration value Visibility: default -->
<element name="TStatementType.stUnknown">
<short>The statement type could not be detected.</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stSelect">
<short>The statement is a SQL SELECT statement</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stInsert">
<short>The statement is a SQL INSERT statement</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stUpdate">
<short>The statement is a SQL UPDATE statement</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stDelete">
<short>The statement is a SQL DELETE statement</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stDDL">
<short>The statement is a SQL DDL (Data Definition Language) statement</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stGetSegment">
<short>The statement is a SQL get segment statement</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stPutSegment">
<short>The statement is a SQL put segment statement</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stExecProcedure">
<short>The statement executes a stored procedure</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stStartTrans">
<short>The statement starts a transaction</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stCommit">
<short>The statement commits a transaction</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stRollback">
<short>The statement rolls back a transaction</short>
</element>
<!-- enumeration value Visibility: default -->
<element name="TStatementType.stSelectForUpd">
<short>The statement selects data for update</short>
</element>

<!-- enumeration type Visibility: default -->
<element name="TDBEventType">
<short>Type of database event</short>
<descr>
<var>TDBEventType</var> describes the type of a database event message as generated
by <link id="TSQLConnection"/> through the <link id="TSQLConnection.OnLog"/>
event.
</descr>
<seealso>
<link id="TSQLConnection"/>
<link id="TDBLogNotifyEvent"/>
<link id="TSQLConnection.OnLog"/>
</seealso>
</element>

<!-- enumeration value Visibility: default -->
<element name="TDBEventType.detCustom">
<short>Custom event message</short>
</element>

<!-- enumeration value Visibility: default -->
<element name="TDBEventType.detPrepare">
<short>SQL prepare message</short>
</element>

<!-- enumeration value Visibility: default -->
<element name="TDBEventType.detExecute">
<short>SQLExecute message</short>
</element>

<!-- enumeration value Visibility: default -->
<element name="TDBEventType.detFetch">
<short>Fetch data message</short>
</element>

<!-- enumeration value Visibility: default -->
<element name="TDBEventType.detCommit">
<short>Transaction Commit message</short>
</element>

<!-- enumeration value Visibility: default -->
<element name="TDBEventType.detRollBack">
<short>Transaction rollback message</short>
</element>

<!-- enumeration value Visibility: default -->
<element name="TDBEventType.detParamValue">
<short>Parameter name and value message</short>
</element>

<!-- enumeration value Visibility: default -->
<element name="TDBEventType.detActualSQL">
<short>Actual SQL as sent to engine message</short>
</element>


<!-- set type Visibility: default -->
<element name="TDBEventTypes">
<short>Set of database event types</short>
<descr>
<var>TDBEventTypes</var> is a set of <link id="TDBEventType"/> values, which
is used to filter the set of event messages that should be sent. The
<link id="TSQLConnection.LogEvents"/> property determines which events a
particular connection will send.
</descr>
<seealso>
<link id="TSQLConnection.LogEvents"/>
<link id="TDBLogNotifyEvent"/>
<link id="GlobalDBLogHook"/>
</seealso>
</element>


<!-- array type Visibility: default -->
<element name="TQuoteChars">
<short>Type to describe quote characters.</short>
<descr>
<var>TQuoteChars</var> is an array of characters that describes the used delimiters
for string values.
</descr>
<seealso>
<link id="#fcl.sqldb.SingleQuotes"/>
<link id="#fcl.sqldb.DoubleQuotes"/>
</seealso>
</element>

<!-- class Visibility: default -->
<element name="TSqlObjectIdentifierList">
<short>List of <var>TSqlObjectIdenfier</var> instances</short>
<descr>
<var>TSqlObjectIdentifierList</var> is a list class holding a list of <link id="TSqlObjectIdenfier"/> elements.
It is used in the <link id="#fcl.sqldb.TSQLConnection.GetObjectNames">TSQLConnection.GetObjectNames</link>
to return the list of objects requested.
</descr>
<errors>
</errors>
<seealso>
<link id="TSqlObjectIdenfier"/>
<link id="#fcl.sqldb.TSQLConnection.GetObjectNames"/>
</seealso>
</element>

<!-- class Visibility: default -->
<element name="TSqlObjectIdenfier">
<short>SQL Identifier properties object</short>
<descr>
<var>TSQLObjectIdentifier</var> is a class that represents an SQL identifier in a database.
It has 2 parts: the schema name and the object name.
</descr>
<seealso>
<link id="TSqlObjectIdenfierList"/>
<link id="#fcl.sqldb.TSQLConnection.GetObjectNames"/>
</seealso>
</element>


<!-- constructor Visibility: public -->
<element name="TSqlObjectIdenfier.Create">
<short></short>
<descr>
</descr>
<errors>
</errors>
<seealso>
</seealso>
</element>

<!-- argument Visibility: default -->
<element name="TSqlObjectIdenfier.Create.ACollection">
<short>Collection which the object belongs to</short>
</element>

<!-- argument Visibility: default -->
<element name="TSqlObjectIdenfier.Create.AObjectName">
<short>Object name.</short>
</element>

<!-- argument Visibility: default -->
<element name="TSqlObjectIdenfier.Create.ASchemaName">
<short>Schema in which object is defined.</short>
</element>

<!-- property Visibility: public -->
<element name="TSqlObjectIdenfier.SchemaName">
<short>Schema name </short>
<descr>
<var>SchemaName</var> is the name of the schema in which the object is defined.
This is only set if the database actually supports schemas, for other databases,
it is empty.
</descr>
<seealso>
<link id="TSqlObjectIdenfierList"/>
<link id="#fcl.sqldb.TSQLConnection.GetObjectNames"/>
<link id="TSqlObjectIdenfier.ObjectName"/>
</seealso>
</element>

<!-- property Visibility: public -->
<element name="TSqlObjectIdenfier.ObjectName">
<short>Name of the object in the database</short>
<descr>
<var>ObjectName</var> is the name of the object in the database.
If the database supports schemas, then it must be combined with the
<link id="TSQLObjectIdentifier.SchemaName">SchemaName</link>
property in order to create a unique name for the object.
</descr>
<seealso>
<link id="TSqlObjectIdenfierList"/>
<link id="#fcl.sqldb.TSQLConnection.GetObjectNames"/>
<link id="TSqlObjectIdenfier.SchemaName"/>
</seealso>
</element>

<!-- function Visibility: public -->
<element name="TSqlObjectIdentifierList.AddIdentifier">
<short>Add an identifier to the list</short>
<descr>
<p>
<var>AddIdentifier</var> adds an identifier to the list with schema
name <var>ASchemaName</var> and object name <var>AObjectName</var>.
It returns the new identifier object. Both arguments are optional,
their default value is the empty string.
</p>
<p>
No checking on duplicate entries is performed.
</p>
</descr>
<seealso>
<link id="TSqlObjectIdentifier"/>
</seealso>
</element>

<!-- function result Visibility: public -->
<element name="TSqlObjectIdentifierList.AddIdentifier.Result">
<short>A new <var>TSQLObjectIdentifier</var> object</short>
</element>

<!-- argument Visibility: default -->
<element name="TSqlObjectIdentifierList.AddIdentifier.AObjectName">
<short>The value for the <var>ObjectName</var> property</short>
</element>

<!-- argument Visibility: default -->
<element name="TSqlObjectIdentifierList.AddIdentifier.ASchemaName">
<short>The value for the <var>SchemaName</var> property</short>
</element>

<!-- property Visibility: public -->
<element name="TSqlObjectIdentifierList.Identifiers">
<short>Indexed access to all identifiers in the list.</short>
<descr>
<var>Identifiers</var> gives indexed access to all <link id="TSQLObjectIdentifier"/> objects in the list.
Valid indexes run from 0 to <var>Count-1</var>. It is the default property of the list class.
</descr>
<seealso>
<link id="TSQLObjectIdentifierList.AddIdentifier"/>
</seealso>
</element>

<!-- argument Visibility: public -->
<element name="TSqlObjectIdentifierList.Identifiers.Index">
<short>Numerical index to the list</short>
</element>

</module> <!-- sqltypes -->

</package>
</fpdoc-descriptions>