Skip to main content

test_synced_tables_with_blob

Function test_synced_tables_with_blob 

Source
pub fn test_synced_tables_with_blob(decl: BlobDecl) -> Vec<SyncedTable>
Expand description

The synthetic store’s schema and Database constructors, which the database layer owns and its own tests open directly. test_synced_tables with note_photos declared blob-bearing per decl, for tests exercising the blob push/pull/backfill paths. The blob id defaults to the note_photos primary key; note_photos.cloud_path holds a readable key for plain-scheme tests, and note_photos.blob_id is there for a decl that names a blob id apart from the PK — the shape a row repointed at a new blob needs, since the row keeps its primary key.