* Just like insert, but replace the row if it exists */
| 1292 | * Just like insert, but replace the row if it exists |
| 1293 | */ |
| 1294 | int db_http_replace(const db_con_t* handle, const db_key_t* keys, |
| 1295 | const db_val_t* vals, const int n) |
| 1296 | { |
| 1297 | return do_http_op ( |
| 1298 | handle, |
| 1299 | keys,NULL,vals, n, |
| 1300 | NULL, 0, |
| 1301 | NULL,NULL,0, |
| 1302 | NULL, |
| 1303 | NULL, |
| 1304 | NULL, |
| 1305 | HTTPDB_REPLACE |
| 1306 | ); |
| 1307 | } |
| 1308 | |
| 1309 | /* |
| 1310 | * Returns the last inserted ID |
nothing calls this directly
no test coverage detected