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)
Fri, Mar 28, 6:26 AM
Unknown Object (File)
Fri, Mar 28, 6:26 AM
Unknown Object (File)
Thu, Mar 27, 5:34 PM
Unknown Object (File)
Feb 26 2025, 12:44 PM
Unknown Object (File)
Feb 21 2025, 10:59 AM
Unknown Object (File)
Feb 20 2025, 2:23 PM
Unknown Object (File)
Feb 18 2025, 8:13 PM
Unknown Object (File)
Feb 18 2025, 8:12 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)