Page Contents
Home > @loopback/sequelize > SequelizeCrudRepository > DB_SPECIFIC_SETTINGS_KEYS
SequelizeCrudRepository.DB_SPECIFIC_SETTINGS_KEYS property
Object keys used in models for set database specific settings. Example: In model property definition one can use postgresql dataType as float { type: 'number', postgresql: { dataType: 'float', precision: 20, scale: 4, }, }
This array of keys is used while building model definition for sequelize.
Signature:
readonly DB_SPECIFIC_SETTINGS_KEYS: readonly ["postgresql", "mysql", "sqlite3"];