res://addons/w4gd/w4rm/w4rm_sql.gd

Inherits: RefCounted

There is currently no description for this class.

Methods

Array

get_column_options ( Variant p_table, StringName p_member )

String

get_create_cast_function ( String p_type_name, Dictionary p_type_members )

String

get_create_foreign_key ( String p_source_table, String p_source_column, String p_schema, String p_table, String p_column )

String

get_create_operation ( Variant p_operation )

String

get_create_table ( Variant p_table )

void

get_create_table_column_trigger ( String p_table, String p_column, String p_trigger_type, String p_trigger )

Array

get_create_table_column_triggers ( Variant p_table )

Array

get_create_table_foreign_keys ( Variant p_table )

String

get_create_table_publication ( StringName p_table_name, bool p_full, String p_publication )

Array

get_create_table_rls_policies ( Variant p_table )

String

get_create_table_rls_policy ( String p_table, String p_policy_name, Variant p_policy )

void

get_create_table_trigger ( String p_table, String p_trigger_type, String p_trigger )

Array

get_create_table_triggers ( Variant p_table )

String

get_create_table_upcast ( Variant p_table )

String

get_create_type ( Variant p_type )

String

get_drop_cast_function ( String p_type_name, bool p_cascade )

String

get_drop_operation ( Variant p_operation, bool p_cascade )

String

get_drop_table_publication ( StringName p_table_name, String p_publication )

String

get_drop_table_upcast ( Variant p_table, bool p_cascade )

String

get_drop_tables ( Array p_tables, bool p_cascade )

String

get_drop_type ( String p_type_name, bool p_cascade )

String

get_table_id_default_trigger ( String p_table_id_name, String p_default )

String

make_transaction ( Array p_queries )

String

sql_identifier ( String p_name )

String

sql_json_cast ( Variant p_attr, Variant p_type )

String

sql_string ( String p_string )

String

sql_type ( Variant p_type )


Constants

VALID_TRIGGER_TYPES = { "before_insert": "BEFORE INSERT", "after_insert": "AFTER INSERT", "before_update": "BEFORE UPDATE", "after_update": "AFTER UPDATE", "before_delete": "BEFORE DELETE", "after_delete": "AFTER DELETE" }


Method Descriptions

Array get_column_options ( Variant p_table, StringName p_member )

There is currently no description for this method.


String get_create_cast_function ( String p_type_name, Dictionary p_type_members )

There is currently no description for this method.


String get_create_foreign_key ( String p_source_table, String p_source_column, String p_schema, String p_table, String p_column )

There is currently no description for this method.


String get_create_operation ( Variant p_operation )

There is currently no description for this method.


String get_create_table ( Variant p_table )

There is currently no description for this method.


void get_create_table_column_trigger ( String p_table, String p_column, String p_trigger_type, String p_trigger )

There is currently no description for this method.


Array get_create_table_column_triggers ( Variant p_table )

There is currently no description for this method.


Array get_create_table_foreign_keys ( Variant p_table )

There is currently no description for this method.


String get_create_table_publication ( StringName p_table_name, bool p_full, String p_publication )

There is currently no description for this method.


Array get_create_table_rls_policies ( Variant p_table )

There is currently no description for this method.


String get_create_table_rls_policy ( String p_table, String p_policy_name, Variant p_policy )

There is currently no description for this method.


void get_create_table_trigger ( String p_table, String p_trigger_type, String p_trigger )

There is currently no description for this method.


Array get_create_table_triggers ( Variant p_table )

There is currently no description for this method.


String get_create_table_upcast ( Variant p_table )

There is currently no description for this method.


String get_create_type ( Variant p_type )

There is currently no description for this method.


String get_drop_cast_function ( String p_type_name, bool p_cascade )

There is currently no description for this method.


String get_drop_operation ( Variant p_operation, bool p_cascade )

There is currently no description for this method.


String get_drop_table_publication ( StringName p_table_name, String p_publication )

There is currently no description for this method.


String get_drop_table_upcast ( Variant p_table, bool p_cascade )

There is currently no description for this method.


String get_drop_tables ( Array p_tables, bool p_cascade )

There is currently no description for this method.


String get_drop_type ( String p_type_name, bool p_cascade )

There is currently no description for this method.


String get_table_id_default_trigger ( String p_table_id_name, String p_default )

There is currently no description for this method.


String make_transaction ( Array p_queries )

There is currently no description for this method.


String sql_identifier ( String p_name )

There is currently no description for this method.


String sql_json_cast ( Variant p_attr, Variant p_type )

There is currently no description for this method.


String sql_string ( String p_string )

There is currently no description for this method.


String sql_type ( Variant p_type )

There is currently no description for this method.