Page MenuHomePhabricator

[SQLite] add queries to decrypted messages table
ClosedPublic

Authored by kamil on Mon, Apr 22, 4:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 12, 1:11 AM
Unknown Object (File)
Fri, May 10, 12:53 AM
Unknown Object (File)
Mon, May 6, 9:11 PM
Unknown Object (File)
Fri, May 3, 5:00 PM
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
Branch
publish-receiver
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Tue, Apr 23, 6:39 AM
lib/types/sqlite-types.js
7

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

native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
2172

Can we simplify this query to SELECT * FROM?

lib/types/sqlite-types.js
7

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

native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
2172

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

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