clockworklabs / clockworklabs/SpacetimeDB
Page based module APIs insert/update/delete/iter
Open
@coolreader18 is already working on this.
Since Mar 14, 2024.
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
Requires different semantics because insert can return an error. So you would need to do something like:
let batch = MyTable::batch_insert()
batch.insert(MyTable {})
batch.insert(MyTable {})
batch.send()
pgoldman 2024-02-16: we suspect these may not be required, but are leaving as P1 until we know for sure.
Mazdak: When I was at Polymath, we had one optimitic batch insert and an atomic one. https://github.com/PolymeshAssociation/Polymesh/blob/92a3eb62e789473901701331b7d82450fa516994/pallets/utility/src/lib.rs#L453
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.