If anyone is interested in trying datalevin with web development, i made a re-implementation of the https://biffweb.com/ starter app example using datalevin as the storage backend: https://github.com/sigvesn/biff-datalevin-starter
Was digging through this channel today in search of exactly something like this! Thank you for sharing 👍
I'm running into a somewhat confusing issue where I inserted a map with a single key that is a large nested map (think ~150MB when serialized) in the shape of {:dataset . I then tried to delete the entity via [:db/retractEntity and after a while (2300ms) the transaction completes successfully. However, when I run a query that matches on maps with the key the entity still shows up and (db/touch (db/entity still works.
Any ideas on how I can retract the entity? Am I misunderstanding something?
You need to post the code. What's you've done, what's your expected results.
Shouldn't it be [[:db/retractEntity eid]] ?
Yes, sorry, it was
I encountered a bug (?) in with-transaction behaviour:
"Key cannot be larger than 511 bytes."
Issue is here: https://github.com/juji-io/datalevin/issues/331Will investigate