dpq v0.5.1 (2016-02-28T19:34:05Z)
Dub
Repo
AttributeList2
dpq
attributes
Undocumented in source.
template
AttributeList2 (
T
string
prefix
= ""
string
asPrefix
= ""
bool
ignorePK
= false
bool
insert
= false
fields
...
) {
static if
(
fields.length == 0
)
enum
AttributeList2
;
alias
mt
=
typeof
(
mixin
(
"T."
~
fields
[
0
]))
;
static if
(!(
fields.length == 0
))
static if
(
ignorePK && isPK!(T, fields[0])
)
enum
AttributeList2
;
static if
(!(
fields.length == 0
))
static if
(!(
ignorePK && isPK!(T, fields[0])
))
static if
(
ShouldRecurse!(mixin ("T." ~ fields[0]))
)
static if
(
insert
)
enum
pref
;
static if
(!(
fields.length == 0
))
static if
(!(
ignorePK && isPK!(T, fields[0])
))
static if
(
ShouldRecurse!(mixin ("T." ~ fields[0]))
)
static if
(!(
insert
))
enum
pref
;
alias
mType
=
typeof
(
mixin
(
"T."
~
fields
[
0
]))
;
static if
(!(
fields.length == 0
))
static if
(!(
ignorePK && isPK!(T, fields[0])
))
static if
(
ShouldRecurse!(mixin ("T." ~ fields[0]))
)
enum
AttributeList2
;
static if
(!(
fields.length == 0
))
static if
(!(
ignorePK && isPK!(T, fields[0])
))
static if
(!(
ShouldRecurse!(mixin ("T." ~ fields[0]))
))
enum
attrName
;
static if
(!(
fields.length == 0
))
static if
(!(
ignorePK && isPK!(T, fields[0])
))
static if
(!(
ShouldRecurse!(mixin ("T." ~ fields[0]))
))
enum
AttributeList2
;
}
Members
Aliases
mType
alias
mType
=
typeof
(
mixin
(
"T."
~
fields
[
0
]))
Undocumented in source.
mt
alias
mt
=
typeof
(
mixin
(
"T."
~
fields
[
0
]))
Undocumented in source.
Manifest constants
AttributeList2
enum
AttributeList2
;
Undocumented in source.
AttributeList2
enum
AttributeList2
;
Undocumented in source.
AttributeList2
enum
AttributeList2
;
Undocumented in source.
AttributeList2
enum
AttributeList2
;
Undocumented in source.
attrName
enum
attrName
;
Undocumented in source.
pref
enum
pref
;
Undocumented in source.
pref
enum
pref
;
Undocumented in source.
Meta
Source
See Implementation
dpq
attributes
aliases
FK
FKey
PK
PKey
attr
embed
sqlMembers
enums
EmbedAttribute
functions
attribute
attributeList
relation
type
properties
PrimaryKey
foreignKey
ignore
index
serial
serial4
serial8
uniqueIndex
structs
AttributeAttribute
ForeignKeyAttribute
IgnoreAttribute
IndexAttribute
PGTypeAttribute
PrimaryKeyAttribute
RelationAttribute
templates
AttributeList
AttributeList2
SnakeCase
attributeName
embeddedPrefix
filterSerialisableMembers
getMembersByUDA
isNonStaticMember
isPK
isPublicMember
isRWField
isRWPlainField
primaryKeyName
relationName
serialisableMembers