An open API service indexing awesome lists of open source software.

https://github.com/vapor/fluent-kit

Swift ORM (queries, models, and relations) for NoSQL and SQL databases
https://github.com/vapor/fluent-kit

fluent server-side-swift swift vapor

Last synced: 4 months ago
JSON representation

Swift ORM (queries, models, and relations) for NoSQL and SQL databases

Awesome Lists containing this project

README

          


FluentKit




Documentation
Team Chat
MIT License
Continuous Integration

Swift 5.10+


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:

```swift
let planets = try await Planet.query(on: database)
.filter(\.$type == .gasGiant)
.sort(\.$name)
.with(\.$star)
.all()
```

For more information, see the [Fluent documentation](https://docs.vapor.codes/fluent/overview/).