Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.8 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.8 KB

FluentKit

Documentation Team Chat MIT License Continuous Integration Swift 5.8+


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.