sqlbuilder ~master (2025-01-26T23:35:43Z)
Dub
Repo
Author
sqlbuilder
dataset
Undocumented in source.
version(unittest)
static
@
tableName
("author")
struct
Author {
string
firstName
;
string
lastName
;
@
primaryKey
@
autoIncrement
int
id
;
@
colType
("VARCHAR(1)")
MyBool
ynAnswer
;
static
@
mapping
("author_id")
@
refersTo
!
book
Relation
books
;
static
@
mapping
("author_id")
@
mapping
("book_type", "= 0")
@
refersTo
!
book
Relation
referenceBooks
;
}
Members
Static variables
books
Relation
books
;
Undocumented in source.
referenceBooks
Relation
referenceBooks
;
Undocumented in source.
Variables
firstName
string
firstName
;
Undocumented in source.
id
int
id
;
Undocumented in source.
lastName
string
lastName
;
Undocumented in source.
ynAnswer
MyBool
ynAnswer
;
Undocumented in source.
Meta
Source
See Implementation
sqlbuilder
dataset
enums
BookType
functions
alwaysRelated
buildTableDef
related
structs
Author
MyBool
book
review
templates
DataSet
staticTableDef