Commit Graph
304 Commits
Author SHA1 Message Date
Gwendal Roué 52b13da2b3 DatabaseTableMapping.databaseTableName() now returns a non-optional String 2015-12-10 13:23:45 +01:00
Gwendal Roué 22dd8e1c3a Introduce DatabasePersistable that grants CRUD methods to any type 2015-12-09 08:53:08 +01:00
Gwendal Roué 54d0442fe0 FMDB tests don't need GRDB 2015-12-03 14:34:23 +01:00
Gwendal Roué cf7c774b09 SQLite.swift tests don't need GRDB 2015-12-03 14:33:18 +01:00
Gwendal Roué eef059736f Update stephencelis/SQLite.swift to latest version 2015-12-03 14:32:57 +01:00
Gwendal Roué 17001129d1 Bridging header is only needed by performance tests 2015-12-03 14:11:25 +01:00
Gwendal Roué 61dd1b9a34 Carthage tests. Use carthage build --no-skip-current from the root of the repository. 2015-12-03 14:04:24 +01:00
Gwendal Roué 20734d5162 Tests that errors thrown by UpdateStatement contain the correct arguments 2015-12-03 07:56:33 +01:00
Gwendal Roué 74f39fb080 Restore test target 2015-12-02 08:28:29 +01:00
Gwendal Roué 49747c58f1 Performance tests for KVC-based objects 2015-12-01 21:59:34 +01:00
Gwendal Roué 186732fb05 Collations WIP 2015-11-20 14:12:03 +01:00
Gwendal Roué 4c8c9f8432 DatabaseValue exposes its SQLite storage, and adopts Hashable. 2015-11-20 08:34:22 +01:00
Gwendal Roué 5f0f6745a8 Functions 2015-11-19 14:01:47 +01:00
Gwendal Roué 2d2c5bcb00 Function tests 2015-11-19 13:27:02 +01:00
Gwendal Roué 2afb2fad56 Functions 2015-11-19 09:51:10 +01:00
Gwendal Roué aa5b727cd2 Documentation 2015-11-19 08:53:34 +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é 32b9971cfa minor 2015-11-17 08:28:25 +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é 1e3d9f16df StatementArguments.Default is used in place of nil for default parameter values. 2015-11-13 11:46:25 +01:00
Gwendal Roué 561ae52422 Turn initializers of DatabaseValue, Row, RowConvertible and StatementArguments from AnyObject, NSArray and NSDictionary to failable initializers. 2015-11-13 10:04:08 +01:00
Gwendal Roué 58cae8f526 DatabaseMigrator.registerMigrationWithoutForeignKeyChecks() 2015-11-04 22:34:52 +01:00
Gwendal Roué 76548ad6a9 Record.insert, update and save return Void again. Record.delete returns a Bool. 2015-11-04 07:44:55 +01:00
Gwendal Roué 9f444293eb Record.insert, update, save and delete return a DatabaseChanges object. 2015-11-02 19:55:39 +01:00
Gwendal Roué 3e31640a25 DatabaseCoder reads and stores objects that conform to NSCoding in the database. 2015-10-31 10:40:14 +01:00
Gwendal Roué 0d957da176 Remove file that should not be there 2015-10-31 09:47:17 +01:00
Gwendal Roué 6934efd98c Unify primary key and other key fetching methods 2015-10-31 08:38:37 +01:00
Gwendal Roué 1e8601aa3b Support for CGFloat 2015-10-28 19:44:39 +01:00
Gwendal Roué 6c81b1b6a5 DatabaseTableMapping.fetch(_:keys:) tests WIP 2015-10-27 15:09:27 +01:00
Gwendal Roué a57391df10 DatabaseTableMapping.fetch(_:keys:) tests WIP 2015-10-27 14:35:12 +01:00
Gwendal Roué 99ec2a1128 DatabaseTableMapping.fetch(_:keys:) tests WIP 2015-10-27 14:02:57 +01:00
Gwendal Roué b07516fb25 Tests about the RowID of inserted Records 2015-10-15 13:10:46 +02:00
Gwendal Roué 5c1e320d97 NSData is now the type responsible for SQLite blobs. 2015-10-13 19:52:40 +02:00
Gwendal Roué 990c34e1d9 Assume NSData WIP 2015-10-13 09:06:36 +02:00
Gwendal Roué aa59b24bb5 Empty Row() initializer 2015-10-10 21:04:20 +02:00
Gwendal Roué 08093b0b6d Remember Genome 2015-10-06 19:09:19 +02:00
Gwendal Roué 13b5deb922 Fix databaseEdited test 2015-10-05 13:37:44 +02:00
Gwendal Roué 1a640c2f10 Improve value conversion error reporting 2015-10-01 08:51:55 +02:00
Gwendal Roué 44179897b8 Int32 and Int64 enums support 2015-10-01 08:28:34 +02:00
Gwendal Roué b42b7fd831 RowConvertible.awakeFromFetch(_) is declared as mutating. 2015-10-01 08:18:31 +02:00
Gwendal Roué 6579e016e0 Row.hasColumn(_) 2015-10-01 06:36:17 +02:00
Gwendal Roué df2d4da51d RowConvertible.init(dictionary:) 2015-09-30 23:08:07 +02:00
Gwendal Roué f869a6cdb9 Fix Foundation support for Row and StatementArguments 2015-09-30 22:13:18 +02:00
Gwendal Roué 5289492ec6 Row support for NSDictionary 2015-09-30 21:39:05 +02:00
Gwendal Roué 2d3b7cbd73 Replace obsolete value()! as Type form with value() as Type. 2015-09-30 21:38:29 +02:00
Gwendal Roué 9bcebc3cb8 Improve testing code coverage 2015-09-30 08:38:45 +02:00
Gwendal Roué 503368569f Update obsolete tests 2015-09-30 08:31:59 +02:00