oxla
and have multiple schemas based on your needs, like auth
, model
, business
, etc.
public
schema is used in Oxla. When unqualified table_name
is used, that table_name
is equivalent to public.table_name
. It also applies to CREATE
, DROP
, and SELECT TABLE
statements.
schema_name
is the schema name you are going to create.IF NOT EXISTS
is an optional parameter to avoid errors if the schema already exists.schema_name
is the schema that you have created.table_name
is the table name you are going to create.schema_name
is the name of the schema.table_name
is the name of the table you want to display.schema_name
is the schema name you are going to create.IF EXISTS
is an optional parameter to avoid errors if the schema does not exist.IF NOT EXISTS
option. Here is how it works:
IF NOT EXISTS
option.IF NOT EXISTS
, it will result in an error.IF NOT EXISTS
option to avoid the error.
IF NOT EXISTS
allows the query to create a schema even if it already exists.
IF EXISTS
option.IF EXISTS
, it will result in an error.IF EXISTS
option.
IF
EXISTS allows the query to succeed even if the schema does not exist.