Page MenuHomePhabricator

[SQLite] add queries to decrypted messages table
ClosedPublic

Authored by kamil on Apr 22 2024, 4:21 PM.
Tags
None
Referenced Files
F3340502: D11723.diff
Thu, Nov 21, 9:55 PM
Unknown Object (File)
Tue, Nov 12, 8:43 AM
Unknown Object (File)
Wed, Nov 6, 4:41 AM
Unknown Object (File)
Oct 16 2024, 11:02 AM
Unknown Object (File)
Oct 14 2024, 4:58 PM
Unknown Object (File)
Oct 14 2024, 4:57 PM
Unknown Object (File)
Oct 14 2024, 4:57 PM
Unknown Object (File)
Oct 13 2024, 11:36 AM
Subscribers

Details

Summary

API to:

  • add decrypted messages
  • get all messages (for now this is only needed method)
  • remove

Depends on D11722

Test Plan

Run tests

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Apr 23 2024, 6:39 AM
lib/types/sqlite-types.js
7 ↗(On Diff #39374)

Can we force it to confirm to a limited set of strings here?

native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
2172 ↗(On Diff #39374)

Can we simplify this query to SELECT * FROM?

lib/types/sqlite-types.js
7 ↗(On Diff #39374)

I'll add a diff with definition and then update the type here

native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
2172 ↗(On Diff #39374)

That will also query id field (see D11722) and we don't want that

This revision is now accepted and ready to land.Apr 26 2024, 7:14 AM