Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/SwiftORM/MySQL-StORM

MySQL StORM Module
https://github.com/SwiftORM/MySQL-StORM

database mysql orm perfect server-side-swift swift

Last synced: 3 months ago
JSON representation

MySQL StORM Module

Awesome Lists containing this project

README

        

# MySQL-StORM

MySQL-StORM is the MySQL module for StORM - a Swift ORM.

It aims to be easy to use, but flexible. Drawing on previous experiences, whether they be good, bad or ugly, of other ORM's, I have tried to build a system that allows you write great code without worrying about the details of how to interact with the database.

Other database wrappers will be available shortly. They will all use the StORM base, and provide as much consistency between datasources as possible.

StORM is built on top of [Perfect](https://github.com/PerfectlySoft/Perfect) - the most mature of the Server Side Swift platforms.

### What does it do?

* Abstracts the database layer from your code.
* Provides a way of adding save, delete, find to your Swift classes
* Gives you access to more powerful select, insert, update, delete, and raw SQL querying.
* Maps result sets to your classes

### What does it not do?

Right now there are a few things missing, but the basics are there.

On the "TODO" list are:

* complete joins
* complete having
* complete group by
* upsert
* documentation
* complete test coverage