Michael Kirk
78174a83e3
cleanup StatementArguments for generated code
2019-08-29 16:31:46 -06:00
Michael Kirk
5360b2fb0f
serialize even codable structs
...
In theory GRDB can take care of encode/decode of Codables, however the
hardcoded init(row:) entails using only things which can be
DatabaseValueConvertible, which not all Codables are.
The only field which fell afoul of this was the CGSize struct on TSAttachmentPointer.
2019-08-22 10:31:55 -06:00
Michael Kirk
f6f6a6c5cf
perf: hardcode column offsets
...
SDS Performance Test changes:
insertion: 8% faster
fetch: 27% faster
enumeration 50% faster
2019-08-22 10:31:55 -06:00
Michael Kirk
73b0f736c9
ignore NSOrderedSet types
2019-08-22 10:31:55 -06:00
Matthew Chen
0f2a0d01b4
Merge remote-tracking branch 'private/release/2.42.0'
2019-08-21 10:58:41 -03:00
Matthew Chen
3a388d9bb3
Respond to CR.
2019-08-21 10:20:07 -03:00
Matthew Chen
85756b0fe9
Merge remote-tracking branch 'private/release/2.42.0'
2019-08-16 13:21:38 -03:00
Matthew Chen
895cbe8c96
Fix exception in "remove all" logic.
2019-08-16 11:19:39 -03:00
Matthew Chen
8ca337e2c3
Rework generic change observation.
2019-08-13 09:58:27 -03:00
Matthew Chen
94ad1e35ff
Improvements and fixes for "any FTS".
2019-08-07 17:48:54 -03:00
Matthew Chen
e4b082746d
Add GRDB support for full text search.
2019-08-02 15:42:34 -03:00
Matthew Chen
1e363d2c65
Make uniqueId non-nil.
2019-07-31 10:50:59 -03:00
Matthew Chen
87950b11f2
Respond to CR.
2019-07-19 17:15:39 -03:00
Matthew Chen
b2fc66aca3
Honor shouldBeSaved flag in anyRemove.
2019-07-19 17:13:51 -03:00
Matthew Chen
3c3e84168a
Respond to CR.
2019-07-19 15:37:53 -03:00
Matthew Chen
92fe08208a
Convert interactions to BaseModel (generated changes).
2019-07-19 15:25:28 -03:00
Matthew Chen
ebd45743c6
Convert interactions to BaseModel. Add typed 'any update with...' methods.
2019-07-18 15:44:36 -03:00
Nora Trapp
9031d8fdc9
SDS Codegen
2019-07-17 12:46:50 -07:00
Matthew Chen
dab6328dc8
Don't generate SDS extensions for migrations.
2019-07-16 14:00:13 -03:00
Matthew Chen
3ef10b38ad
Add typed 'any update with...' methods.
2019-07-16 14:00:13 -03:00
Michael Kirk
6806ee1a0f
sds_generate understands int64_t
2019-07-03 09:06:37 -05:00
Matthew Chen
aadb418cd9
Convert message sending to use any transactions (code generated changes).
2019-06-25 16:00:58 -04:00
Matthew Chen
b86ab9f611
Migrate OWSDisappearingMessagesConfiguration to any.
2019-06-25 15:48:37 -04:00
Matthew Chen
85af6572e3
Convert attachments to be any-only - code generated changes.
2019-06-24 15:34:02 -04:00
Matthew Chen
ff38ae1920
Respond to CR.
2019-06-24 15:29:43 -04:00
Matthew Chen
3f2a680b70
Add will/did...save/remove methods to models.
2019-06-24 15:29:43 -04:00
Matthew Chen
7cf58fdc94
Respond to CR.
2019-06-21 09:16:10 -04:00
Matthew Chen
a6f5f4b35b
Rename anyVisitAll() to anyEnumerate(); use stop.
2019-06-21 09:02:34 -04:00
Matthew Chen
a0ca750f63
Respond to CR.
2019-06-19 11:53:15 -04:00
Matthew Chen
f3cbc4a91d
Migrate more key-value stores.
2019-06-19 11:21:49 -04:00
Matthew Chen
b0375a5de4
Add anyCount() method to SDS extensions.
2019-06-19 11:21:41 -04:00
Michael Kirk
88252a04f6
update codegen: don't call block twice on same insance
2019-05-31 07:40:51 -06:00
Michael Kirk
d0a657f399
add anyReload method to codegen scripts
2019-05-30 18:26:15 -06:00
Matthew Chen
2b90c2bc8c
Only "update with".
2019-05-23 10:02:43 -04:00
Matthew Chen
e3b6cdb09f
Streamline SDS extensions.
2019-05-22 09:51:31 -04:00
Matthew Chen
1df72f2c7f
Respond to CR.
2019-05-22 09:28:53 -04:00
Matthew Chen
b78f4db871
Clean up ahead of PR.
2019-05-22 09:28:53 -04:00
Matthew Chen
0cecce2e68
Use GRDB records for anyInsert() & anyUpdate(). Remove anySave(). Add handling of GRDB ids.
2019-05-22 09:18:42 -04:00
Matthew Chen
56cb7f1fef
Remove old deserialization logic.
2019-05-21 17:24:59 -04:00
Matthew Chen
55c48f791a
Use records for grdb cursors.
2019-05-21 17:17:52 -04:00
Michael Kirk
8a879b76b7
Update column name macros
2019-05-10 17:55:26 -06:00
Matthew Chen
26f2ea6bf3
Fix various issues.
2019-05-10 11:18:59 -04:00
Matthew Chen
e81c77fb25
Respond to CR.
2019-05-10 11:18:59 -04:00
Matthew Chen
1e0d0c2244
Respond to CR.
2019-05-10 11:18:59 -04:00
Matthew Chen
24957de779
Respond to CR.
2019-05-10 11:18:59 -04:00
Matthew Chen
f2b630cb5f
Generate database records.
2019-05-10 11:18:59 -04:00
Matthew Chen
a4b5f5a1bc
Generate database records.
2019-05-10 11:18:58 -04:00
Matthew Chen
e1db670b7f
Generate database records.
2019-05-10 11:18:58 -04:00
Matthew Chen
6fe247c183
Generate database records.
2019-05-10 11:18:58 -04:00
Matthew Chen
6cce0dad2c
Generate database records.
2019-05-10 11:18:58 -04:00