Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtsqlglobal.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QTSQLGLOBAL_H
6
#
define
QTSQLGLOBAL_H
7
8
#
if
0
9
#
pragma
qt_class
(
QSql
)
10
#
endif
11
12
#
include
<
QtCore
/
qglobal
.
h
>
13
#
include
<
QtSql
/
qtsql
-
config
.
h
>
14
#
include
<
QtSql
/
qtsqlexports
.
h
>
15
16
QT_BEGIN_NAMESPACE
17
18
namespace
QSql
19
{
20
enum
Location
21
{
22
BeforeFirstRow
= -1,
23
AfterLastRow
= -2
24
};
25
26
enum
ParamTypeFlag
27
{
28
In
= 0x00000001,
29
Out
= 0x00000002,
30
InOut
=
In
|
Out
,
31
Binary
= 0x00000004
32
};
33
Q_DECLARE_FLAGS(ParamType,
ParamTypeFlag
)
34
35
enum
TableType
36
{
37
Tables
= 0x01,
38
SystemTables
= 0x02,
39
Views
= 0x04,
40
AllTables
= 0xff
41
};
42
43
enum
NumericalPrecisionPolicy
44
{
45
LowPrecisionInt32
= 0x01,
46
LowPrecisionInt64
= 0x02,
47
LowPrecisionDouble
= 0x04,
48
49
HighPrecision
= 0
50
};
51
}
52
53
Q_DECLARE_OPERATORS_FOR_FLAGS(
QSql
::ParamType)
54
55
QT_END_NAMESPACE
56
57
#
endif
// QSQL_H
QSql
Definition
qtsqlglobal.h:19
QSql::Location
Location
Definition
qtsqlglobal.h:21
QSql::AfterLastRow
@ AfterLastRow
Definition
qtsqlglobal.h:23
QSql::BeforeFirstRow
@ BeforeFirstRow
Definition
qtsqlglobal.h:22
QSql::TableType
TableType
Definition
qtsqlglobal.h:36
QSql::SystemTables
@ SystemTables
Definition
qtsqlglobal.h:38
QSql::Views
@ Views
Definition
qtsqlglobal.h:39
QSql::Tables
@ Tables
Definition
qtsqlglobal.h:37
QSql::AllTables
@ AllTables
Definition
qtsqlglobal.h:40
QSql::ParamTypeFlag
ParamTypeFlag
Definition
qtsqlglobal.h:27
QSql::InOut
@ InOut
Definition
qtsqlglobal.h:30
QSql::Binary
@ Binary
Definition
qtsqlglobal.h:31
QSql::In
@ In
Definition
qtsqlglobal.h:28
QSql::Out
@ Out
Definition
qtsqlglobal.h:29
QSql::NumericalPrecisionPolicy
NumericalPrecisionPolicy
Definition
qtsqlglobal.h:44
QSql::LowPrecisionInt32
@ LowPrecisionInt32
Definition
qtsqlglobal.h:45
QSql::LowPrecisionDouble
@ LowPrecisionDouble
Definition
qtsqlglobal.h:47
QSql::LowPrecisionInt64
@ LowPrecisionInt64
Definition
qtsqlglobal.h:46
QSql::HighPrecision
@ HighPrecision
Definition
qtsqlglobal.h:49
qtbase
src
sql
kernel
qtsqlglobal.h
Generated on
for Qt by
1.14.0