dorm ~master (2022-11-24T09:54:00.4135699)
Dub
Repo
ModelRefImpl
dorm
types
relations
Undocumented in source.
static
struct
ModelRefImpl (
alias
id
_TModel
_TSelect
) {
alias
TModel
=
_TModel
;
alias
TSelect
=
_TSelect
;
alias
primaryKeyAlias
=
id
;
enum
primaryKeyField
;
alias
PrimaryKeyType
=
typeof
(
primaryKeyAlias
)
;
PrimaryKeyType
foreignKey
;
TSelect
populated
();
auto
opAssign
(TSelect value);
}
Members
Aliases
PrimaryKeyType
alias
PrimaryKeyType
=
typeof
(
primaryKeyAlias
)
Undocumented in source.
TModel
alias
TModel
=
_TModel
Undocumented in source.
TSelect
alias
TSelect
=
_TSelect
Undocumented in source.
primaryKeyAlias
alias
primaryKeyAlias
=
id
Undocumented in source.
Functions
opAssign
auto
opAssign
(TSelect value)
Undocumented in source. Be warned that the author may not have intended to support it.
populated
TSelect
populated
()
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
primaryKeyField
enum
primaryKeyField
;
Undocumented in source.
Variables
foreignKey
PrimaryKeyType
foreignKey
;
Undocumented in source.
Meta
Source
See Implementation
dorm
types
relations
structs
BackRef
ManyToManyField
ModelRefImpl
templates
ModelRef