Commit Graph
19 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é 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é bf48bd6ac2 Remove a bunch of self. 2015-12-01 09:07:55 +01:00
Gwendal Roué ce42192334 Documentation 2015-11-19 08:20:28 +01:00
Gwendal Roué be0b55ffe7 minor 2015-11-15 13:26:12 +01:00
Gwendal Roué 6934efd98c Unify primary key and other key fetching methods 2015-10-31 08:38:37 +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é 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é 8afb44cdc0 DatabaseTableMapping.fetch(_:primaryKeys:), DatabaseTableMapping.fetchAll(_:primaryKeys:) 2015-10-26 14:35:19 +01:00
Gwendal Roué 0830bc0657 Documentation 2015-09-30 08:35:53 +02:00
Gwendal Roué 75bb735e98 Use fatalError() instead of precondition() so that safety checks survive Release configuration. 2015-09-12 14:36:06 +02:00
Gwendal Roué 4cbac39dfc Use precondition() instead of assert() so that safety checks survive Release configuration. 2015-09-12 14:24:21 +02:00
Gwendal Roué 6239955e08 Replace fatalError() with assert() when possible 2015-09-09 13:26:57 +02:00
Gwendal Roué 5906469826 Rename RowModel to Record 2015-09-09 09:56:28 +02:00
Gwendal Roué 4e08f6ed1b Crash tests 2015-09-09 06:46:10 +02:00
Gwendal Roué 6c4794f02c DatabaseValueConvertible redesign, and project reorganization 2015-09-06 15:23:02 +02:00