Test - bxd@latest

IDB Support



wait


Create bxd instance

BoxDB

wait

wait

wait

Create Box

BoxDB.create

wait

Box open

BoxDB.open

wait

Add records

Box.add

wait

Record count

Box.count

wait

Get record


get in-line-key(id) = 10 Box.get

wait

Get all records

Box.find().get()
find age = 13

wait

wait

Update record

Box.put()
find id = 1 and put name to 'First Name'

wait

Update records (range)

Box.find(range).update()
update age = 10 to age = 20

wait

Update records (filter)

Box.find(null, ...filters).update()
update age = 13 to age = 10

wait

Delete record

Box.delete()
delete in-line-key(id) = 5

wait

Delete records (range)

Box.find(range).delete()
delete number = '920-684-4795'

wait

Delete records (filter)

Box.find(null, ...filters).delete()
delete age > 70

wait

Run multiple tasks

BoxDB.transition()
add record { id: 99, name: 'UNKNOWN', age: 99999, number: null }
update record id = 7 to name = 'CHANGED'
delete record in-line-key(id) = 8

wait


Final state

wait

wait

wait