MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / db_http_replace

Function db_http_replace

modules/db_http/http_dbase.c:1294–1307  ·  view source on GitHub ↗

* Just like insert, but replace the row if it exists */

Source from the content-addressed store, hash-verified

1292 * Just like insert, but replace the row if it exists
1293 */
1294int 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

Callers

nothing calls this directly

Calls 1

do_http_opFunction · 0.85

Tested by

no test coverage detected