geonature.core.imports.checks.sql.core

Functions

init_rows_validity(imprt[, dataset_name_field])

Validity columns are three-states:

check_orphan_rows(imprt)

Module Contents

geonature.core.imports.checks.sql.core.init_rows_validity(imprt: geonature.core.imports.models.TImports, dataset_name_field: str = 'id_dataset')[source]
Validity columns are three-states:
  • None: the row does not contains data for the given entity

  • False: the row contains data for the given entity, but data are erroneous

  • True: the row contains data for the given entity, and data are valid

geonature.core.imports.checks.sql.core.check_orphan_rows(imprt)[source]