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

Method GetKeyValue

storage/connect/json.cpp:1114–1121  ·  view source on GitHub ↗

/ Get the value corresponding to the given key. */ /

Source from the content-addressed store, hash-verified

1112/* Get the value corresponding to the given key. */
1113/***********************************************************************/
1114PJVAL JOBJECT::GetKeyValue(const char* key)
1115{
1116 for (PJPR jp = First; jp; jp = jp->Next)
1117 if (!strcmp(jp->Key, key))
1118 return jp->Val;
1119
1120 return NULL;
1121} // end of GetValue;
1122
1123/***********************************************************************/
1124/* Return the text corresponding to all keys (XML like). */

Callers 9

FindRowMethod · 0.45
GetRowValueMethod · 0.45
GetColumnValueMethod · 0.45
GetRowMethod · 0.45
MakeDocumentMethod · 0.45
GetRowValueMethod · 0.45
CheckPathMethod · 0.45
GetRowMethod · 0.45
MakeDocumentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected