sqlbuilder ~master (2025-01-26T23:35:43Z)
Dub
Repo
SQLImpl.havingKey
sqlbuilder
dialect
common
SQLImpl
Undocumented in source. Be warned that the author may not have intended to support it.
auto
havingKey
(Q query, T t, U model)
auto
havingKey
(Q query, T t)
auto
havingKey
(Q query, Args args)
auto
havingKey
(Q query, T t, Args args)
template
SQLImpl
(Item, alias param, bool noTableIdForUpdate = false)
auto
havingKey
(
T
Q
Args
...
)
(
Q
query
,
T
t
,
Args
args
)
if
(
isDataSet
!
T
&&
hasPrimaryKey
!(
T.RowType
)
&&
Args.length
==
primaryKeyFields
!(
T.RowType
).
length
&&
!
is
(
Args
[0] :
T.RowType
)
&&
(
isQuery
!
Q
||
is
(
Q
:
Update
!
X
,
X
)
||
is
(
Q
:
Insert
!
X
,
X
)
||
is
(
Q
:
Delete
!
X
,
X
)
)
)
Meta
Source
See Implementation
sqlbuilder
dialect
common
SQLImpl
functions
havingKey
insert
remove
removeFrom
select
set
update