This module contains functions to initialize a new repository.
|
|
|
|
|
test_plan(self,
rql,
expected,
kwargs=None) |
source code
|
|
|
|
|
schema_eids_idx(schema)
return a dictionary mapping schema types to their eids so we can reread
it from the fs instead of the db (too costly) between tests |
source code
|
|
|
restore_schema_eids_idx(schema,
schema_eids)
rebuild schema eid index |
source code
|
|
|
_orig_insert_snippets(self,
snippets,
varexistsmap=None) |
source code
|
|
|
|
|
_insert_snippets(self,
snippets,
varexistsmap=None) |
source code
|
|
|
|
|
_orig_check_permissions(self,
rqlst)
return a dict defining "local checks", e.g. RQLExpression defined in
the schema that should be inserted in the original query |
source code
|
|
|
_orig_init_temp_table(self,
table,
selected,
sol)
initialize sql schema and variable map for a temporary table which
will be used to store result for the given rqlst |
source code
|
|
|
|
|
|
|
_init_temp_table(self,
table,
selection,
solution) |
source code
|
|
|
_orig_select_principal(scope,
relations,
_sort=<function <lambda> at 0x601ef50>)
given a list of rqlst relations, select one which will be used to
represent an invariant variable (e.g. using on extremity of the relation
instead of the variable's type table |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|