Flowdock
method

extract_schema_qualified_name

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: Utils
extract_schema_qualified_name(string) public

Returns an instance of ActiveRecord::ConnectionAdapters::PostgreSQL::Name extracted from string. schema is nil if not specified in string. schema and identifier exclude surrounding quotes (regardless of whether provided in string) string supports the range of schema/table references understood by PostgreSQL, for example:

  • table_name

  • "table.name"

  • schema_name.table_name

  • schema_name."table.name"

  • "schema_name".table_name

  • "schema.name"."table name"

Show source
Register or log in to add new notes.