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
Gwendal Roué
c32af15fdd
Fix sample code
2018-08-18 16:10:47 +02:00
Gwendal Roué
3d285dfc81
Fix sample code
2018-08-18 16:09:44 +02:00
Gwendal Roué
76d3ac42ff
More taste of DAO
2018-08-18 16:07:52 +02:00
Gwendal Roué
e9b7a67c73
Fix JSON column tests so that they don't run when .sortedKeys option is not available
2018-08-18 15:54:01 +02:00
Gwendal Roué
ba7cd4f61d
Cleanup
2018-08-18 15:54:01 +02:00
Gwendal Roué
7a3321a5ed
Add missing Foundation import
2018-08-18 15:54:01 +02:00
Gwendal Roué
5cb9d19b1e
Cleanup README
2018-08-18 15:54:01 +02:00
Gwendal Roué
9e3da1a1a9
CHANGELOG
2018-08-18 15:54:01 +02:00
Gwendal Roué
35e202eb13
Documentation
2018-08-18 15:54:01 +02:00
Gwendal Roué
812975ee7d
Cleanup
2018-08-18 15:54:01 +02:00
Gwendal Roué
934ee8e5f4
Remove a few obsolete debugging print statements
2018-08-18 15:54:01 +02:00
Gwendal Roué
47c424cb69
PersistableRecord: customize JSON encoding per column
2018-08-18 15:54:01 +02:00
Gwendal Roué
b35fb6e315
FetchableRecord: customize JSON decoding per column
2018-08-18 15:54:01 +02:00
Gwendal Roué
fdc191bbb4
Inline documentation
2018-08-18 15:54:01 +02:00
Gwendal Roué
a8ec0530b1
Fix tests for iOS
2018-08-18 15:54:01 +02:00
Gwendal Roué
b7b8594176
Pass tests for MutablePersistableRecord userInfo customization
2018-08-18 15:54:01 +02:00
Gwendal Roué
eee433fefe
Failing tests for MutablePersistableRecord userInfo customization
2018-08-18 15:54:01 +02:00
Gwendal Roué
513a5a3fb7
More FetchableRecord userInfo customization tests
2018-08-18 15:54:01 +02:00
Gwendal Roué
1a3638c0ef
FetchableRecord can customize Decoder userInfo
2018-08-18 15:54:01 +02:00
Gwendal Roué
ef123824c3
Failing tetsts for Decodable user infos
2018-08-18 15:54:01 +02:00
Gwendal Roué
2bc56255b2
TODO
2018-08-17 09:50:20 +02:00
Gwendal Roué
a94711ad77
Fix a compiler warning introduced by 7be63866
2018-08-16 14:34:30 +02:00
Gwendal Roué
0ab84aff52
Enhance Codable Records documentation chapter
2018-08-16 14:24:07 +02:00
Gwendal Roué
e415db248a
Minor documentation tweak
2018-08-16 13:45:05 +02:00
Gwendal Roué
c3a15bc2fc
The benefits of having CodingKeys adopt ColumnExpression
2018-08-16 13:23:47 +02:00
Gwendal Roué
7a18b7c948
Test for CodingKey as ColumnExpression
2018-08-16 12:31:26 +02:00
Gwendal Roué
df1f9b92a1
TODO.md
2018-08-16 11:00:35 +02:00
Gwendal Roué
4110f890da
Minor documentation tweak
2018-08-16 09:02:05 +02:00
Gwendal Roué
44061f0d31
Improve Codable support visibility
2018-08-16 08:59:18 +02:00