Commit Graph
499 Commits
Author SHA1 Message Date
Gwendal Roué c5913542f0 DatabasePersistable WIP 2015-12-11 07:05:45 +01:00
Gwendal Roué 21fc6938ca MutableDatabasePersistable documentation 2015-12-10 22:05:13 +01:00
Gwendal Roué ed22876b1d Introduce MutableDatabasePersistable 2015-12-10 21:50:46 +01:00
Gwendal Roué 00fb558db8 TODO.md 2015-12-10 18:20:47 +01:00
Gwendal Roué e9c55f47c6 Database.clearSchemaCache(). Migrations are run with disabled schema cache. 2015-12-10 14:24:55 +01:00
Gwendal Roué 9b2bd07074 DatabasePersistable documentation (#12) 2015-12-10 13:39:30 +01:00
Gwendal Roué 39ff90474c DatabasePersistable documentation (#12) 2015-12-10 13:33:25 +01:00
Gwendal Roué cfd5abc1a7 Documentation 2015-12-10 13:28:34 +01:00
Gwendal Roué 52b13da2b3 DatabaseTableMapping.databaseTableName() now returns a non-optional String 2015-12-10 13:23:45 +01:00
Gwendal Roué 4e183439b5 DatabasePersistable.didInsertWithRowID(_:forColumn:) is called even when there is no INTEGER PRIMARY KEY column. DatabaseTableMapping no longer extends RowConvertible. (#12) 2015-12-10 09:06:00 +01:00
Gwendal Roué c4fa174fad DatabasePersistable documentation (#12) 2015-12-10 08:14:36 +01:00
Gwendal Roué cc59f62420 Refactor DatabasePersistable so that all CRUD methods are dynamically dispatched. The protocol exposes default implementation for CRUD methods as statically dispatched method that are available for adopting types in their own implementations of CRUD methods. Introduce DatabasePersistable.save() (#12) 2015-12-10 08:09:36 +01:00
Gwendal Roué 8ed4f47f82 Remove reference to the databaseEdited flag from the DatabasePersistable documentation. 2015-12-09 08:57:07 +01:00
Gwendal Roué 22dd8e1c3a Introduce DatabasePersistable that grants CRUD methods to any type 2015-12-09 08:53:08 +01:00
Gwendal Roué 0853c1c419 v0.32.2 2015-12-03 07:58:35 +01:00
Gwendal Roué c88440243f Fix error thrown by UpdateStatement 2015-12-03 07:48:25 +01:00
Gwendal Roué bb9117bdb6 Better collation implementation 2015-12-02 08:48:55 +01:00
Gwendal Roué 921c66abf3 v0.32.1 2015-12-02 08:32:35 +01:00
Gwendal Roué da525b1856 Fix collations: sqlite does not provide \0 terminated C strings, but UTF8 buffers. 2015-12-02 08:29:55 +01:00
Gwendal Roué cc237560c6 Fix Statement.validateArguments: StatementArguments.Default is never valid. 2015-12-02 08:29:13 +01:00
Gwendal Roué 9002502163 Minor 2015-12-01 23:07:17 +01:00
Gwendal Roué 49747c58f1 Performance tests for KVC-based objects 2015-12-01 21:59:34 +01:00
Gwendal Roué bf48bd6ac2 Remove a bunch of self. 2015-12-01 09:07:55 +01:00
Gwendal Roué 6c1ee933f7 v0.32.0 2015-11-23 12:58:46 +01:00
Gwendal Roué 0be1117bd0 Collations WIP 2015-11-20 14:17:33 +01:00
Gwendal Roué 186732fb05 Collations WIP 2015-11-20 14:12:03 +01:00
Gwendal Roué 195dbf518f Restore DatabaseValue and Row value() methods that return nil, Int64, Double, String or NSData. 2015-11-20 08:48:28 +01:00
Gwendal Roué cc1d6a300f Documentation 2015-11-20 08:41:59 +01:00
Gwendal Roué 4c8c9f8432 DatabaseValue exposes its SQLite storage, and adopts Hashable. 2015-11-20 08:34:22 +01:00
Gwendal Roué 6218ed2bac v0.31.0 2015-11-19 14:37:56 +01:00
Gwendal Roué 5f0f6745a8 Functions 2015-11-19 14:01:47 +01:00
Gwendal Roué 6afcc59c05 Documentation 2015-11-19 08:29:05 +01:00
Gwendal Roué dbaff30da3 Documentation 2015-11-19 08:23:43 +01:00
Gwendal Roué ce42192334 Documentation 2015-11-19 08:20:28 +01:00
Gwendal Roué aad7218df6 Functions 2015-11-19 08:06:41 +01:00
Gwendal Roué 23a9322e5e Functions 2015-11-18 22:20:55 +01:00
Gwendal Roué a84014402b Functions 2015-11-18 20:54:18 +01:00
Gwendal Roué 865431c58a Functions 2015-11-18 18:18:31 +01:00
Gwendal Roué 6496f271d2 v0.30.0 2015-11-17 08:57:04 +01:00
Gwendal Roué 32b9971cfa minor 2015-11-17 08:28:25 +01:00
Gwendal Roué c8cf0df6e1 DatabaseValue.toAnyObject(), Row.toNSDictionary() 2015-11-17 08:27:48 +01:00
Gwendal Roué c987a0a9af Statement validates its arguments before execution, not only in arguments property setter. Nil arguments are validated as well. 2015-11-17 08:26:15 +01:00
Gwendal Roué 7b315f99bd minor 2015-11-15 13:27:22 +01:00
Gwendal Roué 0cdeb09ab0 minor 2015-11-15 13:27:14 +01:00
Gwendal Roué a92f1c5c40 documentation 2015-11-15 13:27:05 +01:00
Gwendal Roué b179ce2437 minor 2015-11-15 13:26:55 +01:00
Gwendal Roué be0b55ffe7 minor 2015-11-15 13:26:12 +01:00
Gwendal Roué 0ada90777a minor 2015-11-15 13:25:58 +01:00
Gwendal Roué 3006ee4764 minor 2015-11-15 13:25:50 +01:00
Gwendal Roué 2b31a22f09 v0.29.0 2015-11-14 13:50:39 +01:00