change_column(table_name, column_name, type, options = {}) Instance Public methods Changes the column of a table.
add_column(table_name, column_name, type, options = {}) Instance Public methods Adds a new column to the named table. See ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition#column for details of the options you can use.
unescape_bytea(value) Instance Public methods 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.
type_cast(value, column, array_member = false) Instance Public methods
quote_table_name_for_assignment(table, attr) Instance Public methods
quote_table_name(name) Instance Public methods Checks the following cases: table_name âtable.nameâ schema_name.table_name schema_name.âtable.nameâ âschema.nameâ.table_name âschema.nameâ.âtable.nameâ
escape_bytea(value) Instance Public methods Escapes binary strings for bytea input to the database.
registered_type?(name) Class Public methods Is name a registered type?
register_type(name, type) Class Public methods Register an OID type named name with a typecasting object in type. name should correspond to the `typname` column in the `pg_type` table.
alias_type(new, old) Class Public methods Alias the old type to the new type.
Page 234 of 2275