Commit Graph
3061 Commits
Author SHA1 Message Date
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
Gwendal Roué 02f852cb89 Prevent StatementArguments.Default from being used as actual arguments 2015-11-14 13:45:41 +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é 12d786f810 v0.28.0 2015-11-13 07:58:36 +01:00
Gwendal Roué 755327d721 Configuration documentation 2015-11-09 19:08:34 +01:00
Gwendal Roué a0c5f7b65f Run all migrations in a single database queue block. 2015-11-08 08:03:00 +01:00
Gwendal Roué b7147ba64c TransactionObserverType methods are no longer optional. 2015-11-05 14:37:39 +01:00
Gwendal Roué 599f6d8c89 DatabaseMigrator cleanup 2015-11-05 08:57:48 +01:00
Gwendal Roué c35979a69f DatabaseMigrator cleanup 2015-11-05 08:43:48 +01:00
Gwendal Roué 1b4e1e5b51 DatabaseMigrator cleanup 2015-11-05 08:04:23 +01:00
Gwendal Roué 110a61a92f v0.27.0 2015-11-04 22:52:25 +01:00
Gwendal Roué 58cae8f526 DatabaseMigrator.registerMigrationWithoutForeignKeyChecks() 2015-11-04 22:34:52 +01:00
Gwendal Roué 9086c5b61d Fix documentation typo 2015-11-04 22:32:34 +01:00
Gwendal Roué 136a9fe6f6 Database.inTransaction() 2015-11-04 22:31:19 +01:00
Gwendal Roué 034b8b8a7c DatabaseQueue.inQueue is private 2015-11-04 22:13:20 +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é a87bfe21c8 v0.26.1 2015-10-31 10:01:53 +01:00
Gwendal Roué 0b3380bf78 v0.26.0 2015-10-31 09:50:28 +01:00
Gwendal Roué 6934efd98c Unify primary key and other key fetching methods 2015-10-31 08:38:37 +01:00
Gwendal Roué 0123d22812 Declare DatabaseGenerator.next() as mutating 2015-10-31 08:33:12 +01:00
Gwendal Roué e4f10c8beb Better fetch() vs. fetchAll() documentation and runtime warning. 2015-10-29 08:48:28 +01:00
Gwendal Roué dd75a3a814 v0.25.0 2015-10-29 07:54:36 +01:00
Gwendal Roué 8575059426 CGFloat documentation 2015-10-29 07:51:59 +01:00
Gwendal Roué 1e8601aa3b Support for CGFloat 2015-10-28 19:44:39 +01:00
Gwendal Roué 99ec2a1128 DatabaseTableMapping.fetch(_:keys:) tests WIP 2015-10-27 14:02:57 +01:00
Gwendal Roué 3516036bbc Code cleanup 2015-10-27 10:32:18 +01:00
Gwendal Roué 84f422fdd0 DatabaseTableMapping.fetch(_:primaryKeys:), DatabaseTableMapping.fetchAll(_:primaryKeys:) arguments are generic sequences of non-optionals. 2015-10-27 10:28:04 +01:00
Gwendal Roué 771d790765 Documentation 2015-10-27 09:02:56 +01:00
Gwendal Roué 8879aa562d DatabaseTableMapping.fetch(_:primaryKeys:), DatabaseTableMapping.fetchAll(_:primaryKeys:) arguments are arrays of optionals 2015-10-27 08:51:28 +01:00
Gwendal Roué 18306fcd64 Use /// for documentation comments, since Xcode 7 has weird behavior with /** 2015-10-27 08:30:24 +01:00
Gwendal Roué 7656fadfcc More precise Row.value(…) documentation 2015-10-26 21:39:42 +01:00
Gwendal Roué 8604392c72 More precise Row.value(…) documentation 2015-10-26 21:31:53 +01:00
Gwendal Roué 8afb44cdc0 DatabaseTableMapping.fetch(_:primaryKeys:), DatabaseTableMapping.fetchAll(_:primaryKeys:) 2015-10-26 14:35:19 +01:00
Gwendal Roué a1848e7594 Define Statement.sql as an immutable property 2015-10-26 10:36:19 +01:00
Gwendal Roué 1b6015afbf Cleanup 2015-10-15 13:12:19 +02:00
Gwendal Roué a24c9111f8 Document Record.insert() about automatic ids 2015-10-15 13:11:59 +02:00