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

Method GetArrayValue

storage/connect/json.cpp:1309–1317  ·  view source on GitHub ↗

/ Get the Nth value of an Array. */ /

Source from the content-addressed store, hash-verified

1307/* Get the Nth value of an Array. */
1308/***********************************************************************/
1309PJVAL JARRAY::GetArrayValue(int i)
1310{
1311 if (Mvals && i >= 0 && i < Size)
1312 return Mvals[i];
1313 else if (Mvals && i < 0 && i >= -Size)
1314 return Mvals[Size + i];
1315 else
1316 return NULL;
1317} // end of GetValue
1318
1319/***********************************************************************/
1320/* Add a Value to the Array Value list. */

Callers 15

SerializeArrayMethod · 0.45
MergeMethod · 0.45
bson_delete_itemFunction · 0.45
bbin_delete_itemFunction · 0.45
GetColumnsMethod · 0.45
FindMethod · 0.45
FindRowMethod · 0.45
GetRowValueMethod · 0.45
GetColumnValueMethod · 0.45
ExpandArrayMethod · 0.45
CalculateArrayMethod · 0.45
GetRowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected