The QxSql
namespace contains several utilities that are specific to the SQL module and grouped together for better organization and encapsulation when making use of using
directives.
|
concept | sql_struct_inside |
| Specifies that a type is a SQL-tied struct registered with QX_SQL_STRUCT().
|
|
concept | sql_struct_outside |
| Specifies that a type is a SQL-tied struct registered with QX_SQL_STRUCT_OUTSIDE().
|
|
concept | sql_struct |
| Specifies that a type is a SQL-tied struct.
|
|
concept | sql_convertible |
| Specifies that a type is generally convertible to/from SQL.
|
|
concept | sql_override_convertible |
| Specifies that a type has override conversions for changing to/from SQL.
|
|
concept | sql_keyable |
| Specifies that a type has a known method for creating a corresponding key.
|
|
concept | sql_collective |
| Specifies that a type is a non-associative container, the value type of which is convertible to/from SQL.
|
|
concept | sql_associative |
| Specifies that a type is an associative container, the value type of which is convertible, to/from SQL, and for which a key/value type specializaton of keygen() exists.
|
|
concept | sql_containing |
| Specifies that a type is a container, and abides by the other corresponding restrictions for that kind of a container.
|
|
concept | sql_optional |
| Specifies that a type is a specialization of std::optional that manages values of a SQL convertible type.
|
|
◆ ALL
Initial value:
)>
The ConcreteInline class is used to implement each specific inline keyword.
Definition qx-sqlinlines.h:69
Constructor
Definition qx-sqlinlines.h:26
@ MultiStringable
Definition qx-sqlinlines.h:31
@ Query
Definition qx-sqlinlines.h:34
The keyword ALL
◆ ANY
Initial value:The keyword ANY
◆ AS
Initial value:
)>
@ Default
Definition qx-sqlinlines.h:28
@ SingleString
Definition qx-sqlinlines.h:29
The keyword AS
◆ ASC
Initial value:The keyword ASC
◆ AVG
Initial value:
)>
@ SingleStringable
Definition qx-sqlinlines.h:30
The keyword AVG
◆ COUNT
Initial value:The keyword COUNT
◆ DEFAULT
◆ DESC
Initial value:The keyword DESC
◆ ESCAPE
Initial value:The keyword ESCAPE
◆ ILIKE
Initial value:The keyword ILIKE
◆ IN
Initial value:
)>
@ MultiStringableParen
Definition qx-sqlinlines.h:32
@ StringableRangeParen
Definition qx-sqlinlines.h:33
The keyword IN
◆ LIKE
Initial value:The keyword LIKE
◆ MAX
Initial value:The keyword MAX
◆ MIN
Initial value:The keyword MIN
◆ NUL
Initial value:The keyword NUL
◆ SOME
Initial value:The keyword SOME
◆ SUM
Initial value:The keyword SUM
◆ UNKNOWN
◆ Location
This enum type describes special locations of an SqlResult
Enumerator |
---|
BeforeFirstRow | Before the first record.
|
AfterLastRow | After the last record.
|
◆ operator!()
Returns a string of "NOT i".
◆ operator""_sq()
Qx::SqlString QxSql::operator""_sq |
( |
const char16_t * | str, |
|
|
size_t | size ) |
|
inlinenoexcept |
Creates a regular SQL string.
◆ operator""_sqi()
Qx::SqlString QxSql::operator""_sqi |
( |
const char16_t * | str, |
|
|
size_t | size ) |
|
inlinenoexcept |
Creates an SQL identifier string; that is, the original string is automatically double-quoted.
◆ operator""_sqs()
Qx::SqlString QxSql::operator""_sqs |
( |
const char16_t * | str, |
|
|
size_t | size ) |
|
inlinenoexcept |
Creates an SQL string literal string; that is, the original string is automatically single-quoted.
◆ operator&=()
Returns the concatenation of and b.
This is the same as operator+() for normal strings.
◆ operator|=()
Returns the concatenation of a and b with a space between.
◆ sq()
Creates an SQL identifier string from s; that is, the original string is automatically double-quoted.
There is generally no need to use this over the QString constructors or literal operators, other than consistency.
◆ sqi()
Creates an SQL identifier string from s; that is, the original string is automatically double-quoted.
◆ sqs()
Creates an SQL string literal string from s; that is, the original string is automatically single-quoted.