dpq.attributes

Undocumented in source.

Members

Aliases

FK
alias FK = foreignKey
Undocumented in source.
FKey
alias FKey = foreignKey
Undocumented in source.
PK
alias PK = PrimaryKey
Undocumented in source.
PKey
alias PKey = PrimaryKey
Undocumented in source.
attr
alias attr = attribute
Undocumented in source.
embed
alias embed = EmbedAttribute
Undocumented in source.
sqlMembers
alias sqlMembers = attributeList
Undocumented in source.

Enums

EmbedAttribute
enum EmbedAttribute
Undocumented in source.

Functions

attribute
AttributeAttribute attribute(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
attributeList
deprecated Column[] attributeList(bool ignorePK, bool insert)
Undocumented in source. Be warned that the author may not have intended to support it.
relation
RelationAttribute relation(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
type
PGTypeAttribute type(string type)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

PrimaryKey
PrimaryKeyAttribute PrimaryKey [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
foreignKey
ForeignKeyAttribute foreignKey [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ignore
IgnoreAttribute ignore [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
index
IndexAttribute index [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
serial
PGTypeAttribute serial [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
serial4
PGTypeAttribute serial4 [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
serial8
PGTypeAttribute serial8 [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
uniqueIndex
IndexAttribute uniqueIndex [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

AttributeAttribute
struct AttributeAttribute
Undocumented in source.
ForeignKeyAttribute
struct ForeignKeyAttribute
Undocumented in source.
IgnoreAttribute
struct IgnoreAttribute
Undocumented in source.
IndexAttribute
struct IndexAttribute
Undocumented in source.
PGTypeAttribute
struct PGTypeAttribute
Undocumented in source.
PrimaryKeyAttribute
struct PrimaryKeyAttribute
Undocumented in source.
RelationAttribute
struct RelationAttribute
Undocumented in source.

Templates

AttributeList
template AttributeList(T, bool ignorePK = false, bool insert = false)
Undocumented in source.
AttributeList2
template AttributeList2(T, string prefix = "", string asPrefix = "", bool ignorePK = false, bool insert = false, fields...)
Undocumented in source.
SnakeCase
template SnakeCase(string str)
Undocumented in source.
attributeName
template attributeName(alias R)
Undocumented in source.
embeddedPrefix
template embeddedPrefix(T)
Undocumented in source.
filterSerialisableMembers
template filterSerialisableMembers(T, FIELDS...)
Undocumented in source.
getMembersByUDA
template getMembersByUDA(T, alias attribute)
Undocumented in source.
isNonStaticMember
template isNonStaticMember(T, string M)
Undocumented in source.
isPK
template isPK(alias T, string m)
Undocumented in source.
isPublicMember
template isPublicMember(T, string M)
Undocumented in source.
isRWField
template isRWField(T, string M)

Determines if a member is a public, non-static, de-facto data field. In addition to plain data fields, R/W properties are also accepted.

isRWPlainField
template isRWPlainField(T, string M)

Determins if a member is a public, non-static data field.

primaryKeyName
template primaryKeyName(T)
Undocumented in source.
relationName
template relationName(alias R)
Undocumented in source.
serialisableMembers
template serialisableMembers(T)
Undocumented in source.

Meta