module
ActiveRecord::ConnectionAdapters::MySQL::Quoting
v6.0.0 -
Show latest stable
No documentation available for this module.
Constants
COLUMN_NAME = /\n\\A\n(\n(?:\n# `table_name`.`column_name` | function(one or no argument)\n((?:\\w+\\.|`\\w+`\\.)?(?:\\w+|`\\w+`)) | \\w+\\((?:|\\g<2>)\\)\n)\n(?:\\s+AS\\s+(?:\\w+|`\\w+`))?\n)\n(?:\\s*,\\s*\\g<1>)*\n\\z\n/ix
COLUMN_NAME_WITH_ORDER = /\n\\A\n(\n(?:\n# `table_name`.`column_name` | function(one or no argument)\n((?:\\w+\\.|`\\w+`\\.)?(?:\\w+|`\\w+`)) | \\w+\\((?:|\\g<2>)\\)\n)\n(?:\\s+ASC|\\s+DESC)?\n)\n(?:\\s*,\\s*\\g<1>)*\n\\z\n/ix
Files
- activerecord/lib/active_record/connection_adapters/mysql/quoting.rb