type ModelOptions
Represents a set of options that applies to a certain model.
Represents a set of options that applies to a certain model.
| Name | Type | Description |
|---|---|---|
| tables |
Array<String> or Array<{name, isView}>
|
An Array containing the name of the tables or An Array containing the name and isView property to describe the table. |
| mappings | TableMappings |
The TableMappings implementation instance that is used to convert from column names to property names and the other way around. |
| columnNames |
Object<String, String>
|
An associative array containing the name of the columns and
properties that doesn’t follow the convention defined in the |
| keyspace | String |
The name of the keyspace. Only mandatory when the Client is not using a keyspace. |