Swift ORM (queries, models, and relations) for NoSQL and SQL databases
264
stars
314
commits
Swift
primary language
Jul 17, 2026
updated
An Object-Relational Mapper (ORM) for Swift. It allows you to write type safe, database agnostic models and queries. It takes advantage of Swift's type system to provide a powerful, yet easy to use API.
An example query looks like:
let planets = try await Planet.query(on: database)
.filter(\.$type == .gasGiant)
.sort(\.$name)
.with(\.$star)
.all()
For more information, see the Fluent documentation.
(top 30 of 52)
Swift
100.0%
Swift ORM (queries, models, and relations) for NoSQL and SQL databases
264
stars
314
commits
Swift
primary language
Jul 17, 2026
updated
An Object-Relational Mapper (ORM) for Swift. It allows you to write type safe, database agnostic models and queries. It takes advantage of Swift's type system to provide a powerful, yet easy to use API.
An example query looks like:
let planets = try await Planet.query(on: database)
.filter(\.$type == .gasGiant)
.sort(\.$name)
.with(\.$star)
.all()
For more information, see the Fluent documentation.
(top 30 of 52)
Swift
100.0%