Gwendal Roué
8f5eee0130
Avoid code duplication in Database.closeConnection
2018-08-22 08:01:26 +02:00
Gwendal Roué
7f8d59b7b1
Merge pull request #403 from groue/feature/decoding-strategies
...
Codable records: customize date and uuid format
2018-08-21 19:40:20 +02:00
Gwendal Roué
0932e92fb4
Documentation
2018-08-21 19:39:34 +02:00
Gwendal Roué
5a8381b282
Add missing attribution
2018-08-21 14:39:46 +02:00
Gwendal Roué
8493984949
Fix Typo
2018-08-21 14:32:43 +02:00
Gwendal Roué
a386fb6580
Documentation
2018-08-21 08:17:57 +02:00
Gwendal Roué
baee699591
CHANGELOG
2018-08-21 06:58:18 +02:00
Gwendal Roué
ad11affd21
ISO8601: don't let user customize the formatter
2018-08-20 23:43:04 +02:00
Gwendal Roué
209b3d0d37
Fix SPM and -O builds
2018-08-20 23:32:38 +02:00
Gwendal Roué
edca38470e
Documentation
2018-08-20 22:24:26 +02:00
Gwendal Roué
e9b76bb196
Tests for DatabaseUUIDEncodingStrategy
2018-08-20 22:16:29 +02:00
Gwendal Roué
f70e9b3e39
Introduce DatabaseUUIDEncodingStrategy
2018-08-20 21:14:51 +02:00
Gwendal Roué
13f3e5ec0d
Remove useless conversions from Int to Int32
2018-08-20 21:14:32 +02:00
Gwendal Roué
fb209d8805
Decode UUID and NSUUID from both blobs and strings
2018-08-20 21:13:58 +02:00
Gwendal Roué
c6b1872291
Documentation
2018-08-20 19:40:23 +02:00
Gwendal Roué
8fa405452d
Documentation
2018-08-20 19:38:11 +02:00
Gwendal Roué
34c7b0b40c
Documentation
2018-08-20 19:32:59 +02:00
Gwendal Roué
f583ef0d2a
Documentation
2018-08-20 19:30:59 +02:00
Gwendal Roué
e438d580b4
Don't close doors
2018-08-20 09:02:15 +02:00
Gwendal Roué
2c9a4b6968
Enhance "Record Customization Options" chapter
2018-08-20 09:00:35 +02:00
Gwendal Roué
ba984427a4
Sort "Record Customization Options" by expected popularity
2018-08-20 08:58:17 +02:00
Gwendal Roué
1e34128213
Sort "Record Customization Options" by expected popularity
2018-08-20 08:57:35 +02:00
Gwendal Roué
319ac27b15
Extend "Record Customization Options" chapter
2018-08-20 08:56:02 +02:00
Gwendal Roué
8ea13dc5fd
Quiet
2018-08-20 08:52:51 +02:00
Gwendal Roué
ad6f1f4a37
Fix inner link
2018-08-20 08:51:48 +02:00
Gwendal Roué
063fe70766
More fostering of Codable records
2018-08-20 08:50:13 +02:00
Gwendal Roué
1c9ce6781b
Enhance "JSON Columns" chapter
2018-08-20 08:30:57 +02:00
Gwendal Roué
81e777a323
Enhance "Use CodingKeys as Columns" chapter
2018-08-20 08:14:51 +02:00
Gwendal Roué
b7273e0a7e
Documentation
2018-08-20 08:05:20 +02:00
Gwendal Roué
bb90ea0259
Improve explanation why the sortedKeys JSON option is recommended
2018-08-19 22:40:51 +02:00
Gwendal Roué
f925d7e3d4
Fix SPM
2018-08-19 22:21:03 +02:00
Gwendal Roué
bbf7eb0b73
Make tests platform-independent
2018-08-19 22:15:19 +02:00
Gwendal Roué
140c590c49
DatabaseDateEncodingStrategy tests
2018-08-19 21:54:50 +02:00
Gwendal Roué
ff306c21e2
DatabaseDateEncodingStrategy
2018-08-19 21:54:41 +02:00
Gwendal Roué
d1892c649c
Documentation
2018-08-19 21:41:47 +02:00
Gwendal Roué
f5d0e4db12
Cleanup & documentation
2018-08-19 20:28:47 +02:00
Gwendal Roué
fc914470f5
DatabaseDateDecodingStrategy tests
2018-08-19 19:51:09 +02:00
Gwendal Roué
d03b76b7e7
DatabaseDateDecodingStrategy
2018-08-19 19:50:35 +02:00
Gwendal Roué
d45afb921a
Merge pull request #401 from groue/feature/selectAs
...
Query Interface: set the selection and the fetched type in a single method call
2018-08-19 15:54:42 +02:00
Gwendal Roué
e1f80494a8
CHANGELOG.md
2018-08-19 13:52:42 +02:00
Gwendal Roué
982dee5b77
Documentation improvements
2018-08-19 13:31:48 +02:00
Gwendal Roué
9815b310b6
TODO.md
2018-08-19 13:03:00 +02:00
Gwendal Roué
7bb0718bae
Documentation for select(..., as:)
2018-08-19 13:02:45 +02:00
Gwendal Roué
da60a5004e
Tests for select(..., as:)
2018-08-19 12:30:02 +02:00
Gwendal Roué
8af33c4fc9
Introduce select(..., as:)
...
Record.select(..., as: Value.self) is equivalent to Record.select(...).asRequest(of: Value.self).
It somewhat improves the readability of some requests:
Player.select(max(Column("score")), as: Int.self)
2018-08-19 12:25:27 +02:00
Gwendal Roué
1fba575c18
Merge pull request #399 from groue/feature/codableUserInfo
...
Codable support: customize the `userInfo` context dictionary, and the format of JSON columns
2018-08-19 07:31:44 +02:00
Gwendal Roué
1e25debefc
Done
2018-08-19 07:31:09 +02:00
Gwendal Roué
97d77e871b
internal documentation
2018-08-18 20:54:40 +02:00
Gwendal Roué
7cb58cfffc
Major cleanup of FetchableRecord+Decodable
2018-08-18 20:27:07 +02:00
Gwendal Roué
950940dedf
Major cleanup of MutablePersistableRecord+Encodable
2018-08-18 19:02:16 +02:00