dorm ~master (2022-11-24T09:54:00.4135699)
Dub
Repo
isDormAttribute
dorm
annotations
Checks if the given attribute is part of this dorm.annotations module.
template
isDormAttribute (
alias
attr
) {
static if
(
is(typeof(attr) == DefaultValue!T, T)
)
enum
isDormAttribute
;
static if
(!(
is(typeof(attr) == DefaultValue!T, T)
))
static if
(
is(typeof(attr))
)
enum
isDormAttribute
;
static if
(!(
is(typeof(attr) == DefaultValue!T, T)
))
static if
(!(
is(typeof(attr))
))
static if
(
is(attr == constructValue!fn, alias fn)
)
enum
isDormAttribute
;
static if
(!(
is(typeof(attr) == DefaultValue!T, T)
))
static if
(!(
is(typeof(attr))
))
static if
(!(
is(attr == constructValue!fn, alias fn)
))
static if
(
is(attr == validator!fn, alias fn)
)
enum
isDormAttribute
;
static if
(!(
is(typeof(attr) == DefaultValue!T, T)
))
static if
(!(
is(typeof(attr))
))
static if
(!(
is(attr == constructValue!fn, alias fn)
))
static if
(!(
is(attr == validator!fn, alias fn)
))
enum
isDormAttribute
;
}
Members
Manifest constants
isDormAttribute
enum
isDormAttribute
;
Undocumented in source.
isDormAttribute
enum
isDormAttribute
;
Undocumented in source.
isDormAttribute
enum
isDormAttribute
;
Undocumented in source.
isDormAttribute
enum
isDormAttribute
;
Undocumented in source.
isDormAttribute
enum
isDormAttribute
;
Undocumented in source.
Meta
Source
See Implementation
dorm
annotations
aliases
AllowedDefaultValueTypes
Id
PossibleDefaultValueTs
enums
ReferentialAction
autoCreateTime
autoIncrement
autoUpdateTime
defaultFromInit
embedded
ignored
isAllowedDefaultValueType
isDormFieldAttribute
isDormModelAttribute
notNull
primaryKey
timestamp
unique
functions
choices
defaultValue
manifest constants
cascade
restrict
setDefault
setNull
structs
Choices
DefaultValue
ForeignKeyImpl
columnName
constructValue
index
maxLength
onDelete
onUpdate
validator
templates
isDormAttribute
Checks if the given attribute is part of this dorm.annotations module.