Skip to main content

EXPECTED_OBJECTS

Constant EXPECTED_OBJECTS 

Source
pub(super) const EXPECTED_OBJECTS: &[(&str, &str, &str)];
Expand description

The known set of objects that _mz_deploy contains after a successful setup. Used by verify() to check whether setup has been run.

Each entry is (schema, object_name, kind) where kind is the value mz_objects.type uses: "table", "view", "index".

This list MUST stay in sync with SETUP_STATEMENTS above. Any object created by a statement must appear here, and vice versa.