Swift Package Index


PostgreSQL StORM Module


  • The latest stable release is 3.2.1. Released over 1 year ago.
  • The last commit to master was over 1 year ago.

Swift Version Compatibility

  • 3.2.1 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 3.2.1 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

Postgres-StORM

Postgres-StORM is the PostgreSQL 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 - 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