MCPcopy Create free account
hub / github.com/MariaDB/server / DeleteValue

Method DeleteValue

storage/connect/json.cpp:1432–1442  ·  view source on GitHub ↗

/ Delete a Value from the Arrays Value list. */ /

Source from the content-addressed store, hash-verified

1430/* Delete a Value from the Arrays Value list. */
1431/***********************************************************************/
1432bool JARRAY::DeleteValue(int n)
1433{
1434 PJVAL jvp = GetArrayValue(n);
1435
1436 if (jvp) {
1437 jvp->Del = true;
1438 return false;
1439 } else
1440 return true;
1441
1442} // end of DeleteValue
1443
1444/***********************************************************************/
1445/* True if void or if all members are nulls. */

Callers 6

bson_array_deleteFunction · 0.45
bbin_array_deleteFunction · 0.45
DeleteDBMethod · 0.45
json_array_deleteFunction · 0.45
jbin_array_deleteFunction · 0.45
DeleteDBMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected