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

Function w_sql_query_one

modules/sqlops/sqlops.c:711–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709
710
711static int w_sql_query_one(struct sip_msg* msg, str* query,
712 void* dest, void *url)
713{
714 struct db_url *parsed_url;
715
716 if (url)
717 parsed_url = ((struct db_url_container *)url)->u.url;
718 else
719 parsed_url = default_db_url;
720
721 return ops_sql_query(msg, query, parsed_url, (pvname_list_t*)dest, 1);
722}
723
724
725static int w_sql_select(struct sip_msg* msg, str* cols, str *table,

Callers

nothing calls this directly

Calls 1

ops_sql_queryFunction · 0.85

Tested by

no test coverage detected