b2a8a10b16
* redo tally query * broken, sharing w/ Jen * tally tests added, failiing * fix txn issue in tally * fix lint
27 lines
450 B
Plaintext
27 lines
450 B
Plaintext
// 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
|
|
)
|
|
read all (
|
|
select bwagreement
|
|
)
|
|
read all (
|
|
select bwagreement
|
|
where bwagreement.created_at > ?
|
|
) |