2018-12-05 09:35:50 +00:00
|
|
|
// dbx.v1 golang satellitedb.dbx .
|
|
|
|
|
2018-12-07 09:59:31 +00:00
|
|
|
model bwagreement (
|
|
|
|
key signature
|
2018-12-05 09:35:50 +00:00
|
|
|
|
2018-12-07 09:59:31 +00:00
|
|
|
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 > ?
|
2018-12-05 09:35:50 +00:00
|
|
|
)
|