CodableDatastore icon indicating copy to clipboard operation
CodableDatastore copied to clipboard

An ACID-compliant database written in pure-swift enabling on-disk persistence for apps and services.

Results 30 CodableDatastore issues
Sort by recently updated
recently updated
newest added
trafficstars

Mark transactions closures with `@_implicitSelfCapture` since they always complete before proceeding.

It's currently possible to accumulate many manifest files, so they should probably be paged to not bring down file system performance. Don't forget to update retention logic to account for...

ie. offer to manually migrate from a known old version type to a new one. This can be useful if the version was initially an `Int`, but became a `String`...

`String(describing:)` unfortunately will change a complex type like `AccountStore.Item.ID` into just `ID` — it might be better to use `String(reflecting:)` instead, which should provide the fully qualified name. We need...

This protocol should return an agnostic representation of a comparable structure in a format that the datastore natively understands. Take a look at foundation db for inspiration, as their binary...

ie. it should handle sorting automatically with a tiered approach.

Given a sorted set of IDs (or index entries), we should be able to efficiently walk the tree gathering records in the process, skipping pages as we go.

Currently, when defining migrations using the shorthand `$0/1` syntax, the data and decoder is used in the opposite order: ``` static func datastore(for persistence: DiskPersistence) -> Datastore { .JSONStore( persistence:...

This is similar to a load for an identifier, but it instead skips decoding, just returning if an entry exists.