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.
sqlMembers
alias sqlMembers = attributeList
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
string[] attributeList(bool ignorePK)
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

attributeName
template attributeName(alias R)
Undocumented in source.
filterSerialisableMembers
template filterSerialisableMembers(T, FIELDS...)
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