Page MenuHomePhabricator

[sqlite] add methods to operate on synced metadata table
ClosedPublic

Authored by will on Mar 27 2024, 1:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 4:14 AM
Unknown Object (File)
Sun, Nov 17, 9:45 PM
Unknown Object (File)
Wed, Nov 13, 12:45 AM
Unknown Object (File)
Tue, Nov 12, 10:55 PM
Unknown Object (File)
Thu, Nov 7, 10:26 AM
Unknown Object (File)
Fri, Nov 1, 8:55 PM
Unknown Object (File)
Fri, Nov 1, 8:55 PM
Unknown Object (File)
Oct 22 2024, 2:46 PM
Subscribers

Details

Summary

This implements the C++ SQLite operations for the synced metadata store

Depends on D11416

Test Plan

synced metadata queries test

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

will requested review of this revision.Mar 27 2024, 2:11 PM
kamil added inline comments.
native/ios/Comm.xcodeproj/project.pbxproj
146 ↗(On Diff #38396)

how about adding to makefile on Android?

web/shared-worker/queries/synced-metadata-queries.test.js
11–12 ↗(On Diff #38396)

I think you can add more specific types or you don;t have to use ? operator below when calling methods

63–65 ↗(On Diff #38396)

looks like the test name is not correct with what the test is doing

web/shared-worker/types/sqlite-query-executor.js
129 ↗(On Diff #38396)

match param names here with native code for clarity

This revision is now accepted and ready to land.Mar 28 2024, 4:44 AM
native/ios/Comm.xcodeproj/project.pbxproj
146 ↗(On Diff #38396)

I think I understand what's going on. A similar issue was mentioned in https://phab.comm.dev/D11300?vs=37980&id=38151#toc, where I didn't include IntegrityThreadHash.h in project.pbxproj.

I just removed SyncedMetadataEntry.h from project.pbxproj and everything still seems to compile. This explains why CommunityInfo.h wasn't included in project.pbxproj in its diff stack.

I think I can remove all references to SyncedMetadataEntry.h in project.pbxproj and create a follow-up task to remove IntegrityThreadHash.h as well.

I believe this means we don't need to include them in the android Makefile

will marked 3 inline comments as done.Mar 28 2024, 9:41 AM
native/ios/Comm.xcodeproj/project.pbxproj
146 ↗(On Diff #38396)