2018-11-05 15:23:54 +00:00
|
|
|
// dbx.v1 golang bwagreement.dbx .
|
|
|
|
model bwagreement (
|
|
|
|
key signature
|
|
|
|
|
|
|
|
field signature blob
|
|
|
|
|
|
|
|
field data blob
|
|
|
|
|
|
|
|
field created_at timestamp ( autoinsert )
|
|
|
|
)
|
|
|
|
|
|
|
|
create bwagreement ( )
|
|
|
|
delete bwagreement ( where bwagreement.signature = ? )
|
|
|
|
read one (
|
|
|
|
select bwagreement
|
|
|
|
where bwagreement.signature = ?
|
|
|
|
)
|
|
|
|
read limitoffset (
|
|
|
|
select bwagreement
|
|
|
|
)
|
2018-11-08 13:20:23 +00:00
|
|
|
read all (
|
|
|
|
select bwagreement
|
|
|
|
)
|
2018-12-05 14:03:23 +00:00
|
|
|
read all (
|
|
|
|
select bwagreement
|
|
|
|
where bwagreement.created_at > ?
|
|
|
|
)
|