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

Function w_sql_insert

modules/sqlops/sqlops.c:769–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767
768
769static int w_sql_insert(struct sip_msg* msg, str* table, str *cols,
770 void *url)
771{
772 struct db_url *parsed_url;
773
774 if (url)
775 parsed_url = ((struct db_url_container *)url)->u.url;
776 else
777 parsed_url = default_db_url;
778
779 return ops_sql_api_insert(parsed_url, msg, table, cols);
780}
781
782
783static int w_sql_delete(struct sip_msg* msg, str *table, str *filter,

Callers

nothing calls this directly

Calls 1

ops_sql_api_insertFunction · 0.85

Tested by

no test coverage detected