vapor / fluent-mysql-driver

🖋🐬 Swift ORM (queries, models, relations, etc) built on MySQL.
MIT License
76 stars 53 forks source link
fluent fluent-database fluent-driver mysql server-side-swift swift swift-linux vapor vapor-service

FluentMySQLDriver

Documentation Team Chat MIT License Continuous Integration Swift 5.8+


FluentMySQLDriver is a [FluentKit] driver for MySQL clients. It provides support for using the Fluent ORM with MySQL databases, and uses [MySQLKit] to provide [SQLKit] driver services, [MySQLNIO] to connect and communicate with the database server asynchronously, and [AsyncKit] to provide connection pooling. [FluentKit]: https://github.com/vapor/fluent-kit [SQLKit]: https://github.com/vapor/sql-kit [MySQLKit]: https://github.com/vapor/mysql-kit [MySQLNIO]: https://github.com/vapor/mysql-nio [AsyncKit]: https://github.com/vapor/async-kit ### Usage Use the SPM string to easily include the dependendency in your `Package.swift` file: ```swift .package(url: "https://github.com/vapor/fluent-mysql-driver.git", from: "4.0.0") ``` For additional information, see [the Fluent documentation](https://docs.vapor.codes/fluent/overview/).