ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter
No documentation available for this class.
Included modules
- ActiveRecord::ConnectionAdapters::MySQL::Quoting
- ActiveRecord::ConnectionAdapters::MySQL::SchemaStatements
Constants
ER_CANNOT_ADD_FOREIGN = 1215
ER_CANNOT_CREATE_TABLE = 1005
ER_DATA_TOO_LONG = 1406
ER_DB_CREATE_EXISTS = 1007
ER_DO_NOT_HAVE_DEFAULT = 1364
ER_DUP_ENTRY = 1062
ER_FILSORT_ABORT = 1028
ER_FK_INCOMPATIBLE_COLUMNS = 3780
ER_LOCK_DEADLOCK = 1213
ER_LOCK_WAIT_TIMEOUT = 1205
ER_NOT_NULL_VIOLATION = 1048
ER_NO_REFERENCED_ROW = 1216
ER_NO_REFERENCED_ROW_2 = 1452
ER_OUT_OF_RANGE = 1264
ER_QUERY_INTERRUPTED = 1317
ER_QUERY_TIMEOUT = 3024
ER_ROW_IS_REFERENCED = 1217
ER_ROW_IS_REFERENCED_2 = 1451
MysqlString = Type::String # :nodoc:
NATIVE_DATABASE_TYPES = {\nprimary_key: "bigint auto_increment PRIMARY KEY",\nstring: { name: "varchar", limit: 255 },\ntext: { name: "text" },\ninteger: { name: "int", limit: 4 },\nfloat: { name: "float", limit: 24 },\ndecimal: { name: "decimal" },\ndatetime: { name: "datetime" },\ntimestamp: { name: "timestamp" },\ntime: { name: "time" },\ndate: { name: "date" },\nbinary: { name: "blob" },\nblob: { name: "blob" },\nboolean: { name: "tinyint", limit: 1 },\njson: { name: "json" },\n}
Files
- activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb