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

Method GetKeyList

storage/connect/json.cpp:1086–1095  ·  view source on GitHub ↗

/ Return all keys as an array. */ /

Source from the content-addressed store, hash-verified

1084/* Return all keys as an array. */
1085/***********************************************************************/
1086PJAR JOBJECT::GetKeyList(PGLOBAL g)
1087{
1088 PJAR jarp = new(g) JARRAY();
1089
1090 for (PJPR jpp = First; jpp; jpp = jpp->Next)
1091 jarp->AddArrayValue(g, new(g) JVALUE(g, jpp->Key));
1092
1093 jarp->InitArray(g);
1094 return jarp;
1095} // end of GetKeyList
1096
1097/***********************************************************************/
1098/* Return all values as an array. */

Callers 4

bson_object_listFunction · 0.45
bbin_object_listFunction · 0.45
json_object_listFunction · 0.45
jbin_object_listFunction · 0.45

Calls 2

InitArrayMethod · 0.80
AddArrayValueMethod · 0.45

Tested by

no test coverage detected