dorm.types.patches

Undocumented in source.

Members

Enums

isSomePatch
eponymoustemplate isSomePatch(Patch)

Checks if the given type Patch is either an implicit or an explicit patch.

isSomePatch
eponymoustemplate isSomePatch(alias other)
Undocumented in source.

Mixin templates

ValidatePatch
mixintemplate ValidatePatch(Patch, TModel)

Helper to validate if a DormPatch annotated field is valid for the given Model type.

Structs

DormPatch
struct DormPatch(User)

UDA to mark patch structs with, to make selecting them easier.

Templates

BuildFieldsTuple
template BuildFieldsTuple(T, Selection...)
Undocumented in source.
DBType
template DBType(Selection...)
Undocumented in source.
FilterLayoutFields
template FilterLayoutFields(T, TSelect)
Undocumented in source.
GetModelDBType
template GetModelDBType(T)
Undocumented in source.
IdAliasFromIdOrModel
template IdAliasFromIdOrModel(alias idOrModel)
Undocumented in source.
IdAliasFromIdOrPatch
template IdAliasFromIdOrPatch(alias idOrPatch)
Undocumented in source.
ImplicitPatchFieldName
template ImplicitPatchFieldName(TModel, Patch)
Undocumented in source.
ModelFromIdOrModel
template ModelFromIdOrModel(alias idOrModel)
Undocumented in source.
ModelFromSomePatch
template ModelFromSomePatch(TModel)
Undocumented in source.
PatchFromIdOrPatch
template PatchFromIdOrPatch(alias idOrPatch)
Undocumented in source.
SelectType
template SelectType(T, Selection...)
Undocumented in source.
TypeOfField
template TypeOfField(TModel, alias field)
Undocumented in source.

Meta