Rope
Rope copied to clipboard
Convenient, easy-to-use PostgreSQL for server-side Swift 3
Removed unterminated single quote
Currently Rope fails to parse the OID of an array and so returns nil. - It would probably be good if Rope logged a warning that an unsupported column type...
Rope's behaviour isn't well defined right now but it should keep attempting to reconnect to the database indefinitely (I think, or with a backoff). We should also expose the health...
Instead of returning `[String:Any?]` let's return `[String:PostgresType]`: ```swift enum PostgresType { case text(String?), case int(Int?), case other(Any?) } ``` Nil in the associated value means null.
Dropping in a placeholder here. I'll implement one in a project and we can backport it upstream. >One thread restriction is that no two threads attempt to manipulate the same...
By convention, these are "postgres" and "" (no password/empty string).
This is a dangerous rather than sensible default. The user should have to explicitly specify the database.
Edge-cases / failures are not fully covered, yet:
As discussed with @johanneserhardt I proposed that Rope have one more dependency: `pq` This is how we do it: ### C module map we have `Cpq` module providing module maps...