(results, metaData)
| 213 | } |
| 214 | |
| 215 | handleInsertQuery(results, metaData) { |
| 216 | if (this.instance) { |
| 217 | // add the inserted row id to the instance |
| 218 | const autoIncrementAttribute = this.model.autoIncrementAttribute; |
| 219 | let id = null; |
| 220 | |
| 221 | id = id || results && results[this.getInsertIdField()]; |
| 222 | id = id || metaData && metaData[this.getInsertIdField()]; |
| 223 | |
| 224 | this.instance[autoIncrementAttribute] = id; |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | isShowTablesQuery() { |
| 229 | return this.options.type === QueryTypes.SHOWTABLES; |
nothing calls this directly
no test coverage detected