Commit Graph
595 Commits
Author SHA1 Message Date
Gwendal Roué d0cf6cdf8b MatelTypeTests 2015-09-23 19:56:22 +02:00
Gwendal Roué 2da093baff Pervasive metal 2015-09-17 06:29:56 +02:00
Gwendal Roué 1254f0e91a Non-optional Value extraction + identical Row and MetalRow look more and more similar 2015-09-16 19:55:07 +02:00
Gwendal Roué 7a9446fc20 Metal API performance is identical to FMDB's. 2015-09-16 13:54:44 +02:00
Gwendal Roué 018f76aafa FetchPerformanceTests helps comparing unsafe from safe fetch. 2015-09-16 08:56:46 +02:00
Gwendal Roué 2d936037f5 Improve isolation of Record tests 2015-09-15 07:19:05 +02:00
Gwendal Roué 377d0a1031 Move all crashing tests to CrashTests.swift 2015-09-12 15:25:03 +02:00
Gwendal Roué 8bc7dbe273 Tests for SQLITE_BUSY 2015-09-12 08:22:12 +02:00
Gwendal Roué 214c9d30cd Database.updateStatement() is no longer a throwing method. 2015-09-11 18:33:58 +02:00
Gwendal Roué 319fe3c643 Failing tests for Record loaded from mangled column names. 2015-09-11 10:26:44 +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é 92ee419caa Xcode, you’re drunk 2015-09-06 20:57:23 +02:00
Gwendal Roué 0bb481c93e Remove UIImage experiment 2015-09-06 19:30:37 +02:00
Gwendal Roué c659849ced README.md: Update DatabaseTimestamp sample code (and add tests for it) 2015-09-06 18:42:48 +02:00
Gwendal Roué abb88ae2a8 Rename RowModel.didFetch() to awakeFromFetch() 2015-09-06 17:56:04 +02:00
Gwendal Roué b686e1fe91 NSNull, NSNumber and NSString adopt DatabaseValueConvertible. 2015-09-06 17:33:39 +02:00
Gwendal Roué 862ac11d94 Extract Foundation 2015-09-06 16:55:38 +02:00
Gwendal Roué 6c4794f02c DatabaseValueConvertible redesign, and project reorganization 2015-09-06 15:23:02 +02:00
Gwendal Roué 0265798123 Extract protocols RowConvertible, DatabaseTableMapping, DatabaseStorable 2015-09-05 21:23:58 +02:00
Gwendal Roué d209e4427a Fetching methods are not available on the fetched type themselves: 2015-09-04 14:58:43 +02:00
Gwendal Roué f38052f510 RowModel.didFetch() event 2015-09-03 18:21:15 +02:00
Gwendal Roué 3f87a6e409 RowModel use case: updating a compound properties such as CLLocationCoordinate2D that does not fit in a single column. 2015-09-03 08:58:44 +02:00
Gwendal Roué 6a7611a2ed Project organization 2015-09-02 14:11:21 +02:00
Gwendal Roué c96c6b960c DatabaseValue adopts DatabaseValueConvertible 2015-09-02 13:36:20 +02:00
Gwendal Roué 4ec2964ddf Reduce iOS Deployment Target to 8.0, and OS X Deployment Target to 10.9 (see groue/GRMustache.swift#11) 2015-08-23 14:23:27 +02:00
Gwendal Roué 3d4c86d4ee Rename QueryArguments to StatementArguments 2015-08-20 08:14:17 +02:00
peter-ss 7d5533432b Refactored UpdateStatement.Changes into DatabaseChanges.
Updated unit tests and README accordingly.
2015-08-17 13:31:37 -07:00
Gwendal Roué 7b762766f9 Documentation WIP 2015-07-22 19:51:37 +02:00
Gwendal Roué 252f89fe22 DatabaseDateComponents WIP 2015-07-22 19:24:21 +02:00
Gwendal Roué fa7b3cf7b3 Rename DateTime to DatabaseDate 2015-07-22 17:37:22 +02:00
Gwendal Roué 98dc15ff51 Public support for NSDate through DateTime 2015-07-21 15:06:56 +02:00
Gwendal Roué 7393b8f333 Introduce the RowModel.edited property, and have RowModel.init(row:) return an edited instance, leaving room for user-defined convenience initializers that return edited instances (the safer value of the flag). 2015-07-21 09:06:46 +02:00
Gwendal Roué 643b31c3e0 Tests for tables with a ON CONFLICT REPLACE clause 2015-07-17 14:08:50 +02:00
Gwendal Roué de2ac5132c Tests for tables with a ON CONFLICT REPLACE clause 2015-07-17 14:08:18 +02:00
Gwendal Roué b60892be3e Renamed "Bindings" to "QueryArguments". 2015-07-17 09:05:18 +02:00
Gwendal Roué 281dd51c22 Minor 2015-07-16 13:56:10 +02:00
Gwendal Roué 6b5d853f4a Rename CustomDatabaseValueConvertibleTests.swift to DBDateTests.swift 2015-07-16 12:10:43 +02:00
Gwendal Roué 231996f6ee Reintegrate DataMapper as a private sub-type of RowModel 2015-07-15 13:40:51 +02:00
Gwendal Roué 2e17c812b3 Extract DataMapper from RowModel. Make sure DataMapper has read-only access to RowModel. 2015-07-13 12:07:44 +02:00
Gwendal Roué c9e4bf9a51 Split tests into public tests and private tests (which use @testable) 2015-07-13 08:29:19 +02:00
Gwendal Roué 554ed9fcd5 Change RowModel.save(db) so that it inserts when no database row could be updated. 2015-07-12 13:20:58 +02:00
Gwendal Roué 4003c9c2d7 Row.value(atIndex:) and Row.value(named:) crash when asked for out of bound index or unknown column name. 2015-07-12 08:48:13 +02:00
Gwendal Roué 6ec750bf57 "isDirty" -> "isEdited" 2015-07-10 12:17:48 +02:00
Gwendal Roué 82141f7701 RowModel.copyDatabaseValuesFrom(_:) 2015-07-10 08:48:37 +02:00
Gwendal Roué 8f8ab97733 Project organization 2015-07-10 08:07:12 +02:00
Gwendal Roué 4887eaabb8 RowModel.isDirty experimentation 2015-07-10 07:42:47 +02:00
Gwendal Roué 50ce41bc89 v0.1.0 2015-07-09 06:28:11 +02:00
Gwendal Roué b6b8492747 Make Playground run 2015-07-09 05:51:20 +02:00
Gwendal Roué 7cd52d7ee8 Add missing files to iOS target 2015-07-09 05:06:09 +02:00