actio_python_utils.database_functions.split_schema_from_table

actio_python_utils.database_functions.split_schema_from_table(table, default_schema='public')[source]

Split a possibly schema qualified table name into its schema and table names

Parameters:
  • table (str) – The possibly schema qualified table name

  • default_schema (str, default: 'public') – The default schema name

Return type:

tuple[str, str]

Returns:

A list with the schema name and the table name