Methods
Instance Public methods
escape_bytea(value)
Link
Escapes binary strings for bytea input to the database.
quote_table_name(name)
Link
Checks the following cases:
-
table_name
-
“table.name”
-
schema_name.table_name
-
schema_name.“table.name”
-
“schema.name”.table_name
-
“schema.name”.“table.name”
quote_table_name_for_assignment(table, attr)
Link
unescape_bytea(value)
Link
Unescapes bytea output from a database to the binary string it represents. NOTE: This is NOT an inverse of #escape_bytea! This is only to be used on escaped binary output from database drive.