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

Function db_insert_update

modules/db_http/http_dbase.c:1324–1339  ·  view source on GitHub ↗

* Insert a row into table, update on duplicate key */

Source from the content-addressed store, hash-verified

1322 * Insert a row into table, update on duplicate key
1323 */
1324int db_insert_update(const db_con_t* _h, const db_key_t* _k, const db_val_t* _v,
1325 const int _n)
1326{
1327 return do_http_op (
1328 _h,
1329 _k, NULL, _v, _n,
1330 NULL , 0,
1331 NULL, NULL, 0,
1332 NULL,
1333 NULL,
1334 NULL,
1335 HTTPDB_INSERT_UPDATE
1336 );
1337
1338
1339}
1340
1341
1342/*

Callers

nothing calls this directly

Calls 1

do_http_opFunction · 0.85

Tested by

no test coverage detected