The following constants can be used when getting schema information. They
can be passed to cubrid_schema().

CUBRID schema flags

Constant

Description

CUBRID_SCH_CLASS

Get name and type of table in CUBRID.

CUBRID_SCH_VCLASS

Get name and type of view in CUBRID.

CUBRID_SCH_QUERY_SPEC

Get the query definition of view.

CUBRID_SCH_ATTRIBUTE

Get the attributes of table column.

CUBRID_SCH_CLASS_ATTRIBUTE

Get the attributes of table.

CUBRID_SCH_METHOD

Get the instance method. The instance method is a method called
by a class instance. It is used more often than the class method
because most operations are executed in the instance.

CUBRID_SCH_CLASS_METHOD

Get the class method. The class method is a method called by a
class object. It is usually used to create a new class instance or to
initialize it. It is also used to access or update class
attributes.

CUBRID_SCH_METHOD_FILE

Get the information of the file where the method of the table is
defined.

CUBRID_SCH_SUPERCLASS

Get the name and type of table which table inherites attributes
from.

CUBRID_SCH_SUBCLASS

Get the name and type of table which inherites attributes from
this table.