Swift-oriented DBMS. Embedded and Not. Yet.
.package(url:"https://github.com/swiftstack/storage.git",.branch("dev"))structUser:Entity{letid:Stringletname:Stringvarage:Int}letstorage=tryStorage(at: path)letusers=try storage.container(for:User.self)try users.insert(User(id:"first", name:"First User", age:17))try users.insert(User(id:"second", name:"Second User", age:18))try users.insert(User(id:"third", name:"Third User", age:19))expect(users.count ==3)ifvar second = users.get("second"){
second.name ="New Name"try users.upsert(second)}letsecondaryKeys= users.select(where: \.name, equal:"Anonymous")letfullscan= users.select(where:{ $0.age >18})