(table, values)
| 208 | } |
| 209 | }, |
| 210 | async create(table, values) { |
| 211 | const row = applyDefaults(table, values); |
| 212 | tableRows(db, table).push(row); |
| 213 | return cloneValue(row); |
| 214 | }, |
| 215 | async createMany(table, values) { |
| 216 | const idColumn = table.getIdColumn(); |
| 217 | return Promise.all(values.map((value) => this.create(table, value))).then((rows) => |
nothing calls this directly
no test coverage detected