sqlbuilder ~master (2025-01-26T23:35:43Z)
Dub
Repo
Query
sqlbuilder
types
Undocumented in source.
@
safe
struct
Query (
Item
RowT
...
) {
import
std
.
meta
:
staticMap
;
;
SQLFragment
!(
Item
)
fields
;
SQLFragment
!(
Item
)
conditions
;
SQLFragment
!(
Item
)
groups
;
SQLFragment
!(
Item
)
orders
;
Joins
!
Item
joins
;
size_t
limitQty
;
size_t
limitOffset
;
alias
RowTypes
=
staticMap
!(
getFetchType
,
RowT
)
;
alias
QueryTypes
=
RowT
;
static if
(
RowT.length == 0 || RowT.length > 1 || (RowT.length == 1 && !is(RowT[0] == void))
)
.
Query
!(
Item
,
void
)
basicQuery
();
static if
(!(
RowT.length == 0 || RowT.length > 1 || (RowT.length == 1 && !is(RowT[0] == void))
))
Query
basicQuery
();
}
Alias This
basicQuery
Members
Aliases
ItemType
alias
ItemType
=
Item
Undocumented in source.
QueryTypes
alias
QueryTypes
=
RowT
Undocumented in source.
RowTypes
alias
RowTypes
=
staticMap
!(
getFetchType
,
RowT
)
Undocumented in source.
Functions
basicQuery
.
Query
!(
Item
,
void
)
basicQuery
()
Undocumented in source. Be warned that the author may not have intended to support it.
basicQuery
Query
basicQuery
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
conditions
SQLFragment
!(
Item
)
conditions
;
Undocumented in source.
fields
SQLFragment
!(
Item
)
fields
;
Undocumented in source.
groups
SQLFragment
!(
Item
)
groups
;
Undocumented in source.
joins
Joins
!
Item
joins
;
Undocumented in source.
limitOffset
size_t
limitOffset
;
Undocumented in source.
limitQty
size_t
limitQty
;
Undocumented in source.
orders
SQLFragment
!(
Item
)
orders
;
Undocumented in source.
Meta
Source
See Implementation
sqlbuilder
types
enums
Spec
functions
addSep
getSpec
isGroup
isJoin
isKeyLiteral
makeSpec
manifest constants
andSpec
endGroupSpec
joinSpec
objEndSpec
orSpec
paramSpec
sepSpec
structs
AllowNullType
Changed
ColumnDef
ConcatDef
Delete
Expr
ExprString
Insert
Joins
Query
Relation
RowObj
SQLFragment
TableDef
Update
templates
paramsImpl