Dever v0.0.2

This commit is contained in:
Codex committed 2026-11-27 06:03:56 +00:00
commit e6e175ebcf
816 files changed
+120349

No files matched your search

@@ -0,0 +1,16 @@
change(number: Int, title: Text) (out: Int) {
created = model.create({ number = number, title = title, amount = number })
found = model.get(created.id)
updated = model.update(found.id, { amount = found.amount + 1 })
out = updated.amount
}
batch(numbers: List<Int>, title: Text) (checksum: Int, count: Int) {
removed = model.delete({ where = number >= 0 })
checksum = sum(each(change, numbers, title))
count = model.count()
}
count() (out: Int) {
out = model.count()
}