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

Function w_sql_update

modules/sqlops/sqlops.c:755–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753
754
755static int w_sql_update(struct sip_msg* msg, str* cols, str *table,
756 str *filter, void *url)
757{
758 struct db_url *parsed_url;
759
760 if (url)
761 parsed_url = ((struct db_url_container *)url)->u.url;
762 else
763 parsed_url = default_db_url;
764
765 return ops_sql_api_update(parsed_url, msg, cols, table, filter);
766}
767
768
769static int w_sql_insert(struct sip_msg* msg, str* table, str *cols,

Callers

nothing calls this directly

Calls 1

ops_sql_api_updateFunction · 0.85

Tested by

no test coverage detected