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

Method GetValType

storage/connect/json.cpp:1546–1555  ·  view source on GitHub ↗

/ Returns the type of the Value's value. */ /

Source from the content-addressed store, hash-verified

1544/* Returns the type of the Value's value. */
1545/***********************************************************************/
1546JTYP JVALUE::GetValType(void)
1547{
1548 if (DataType == TYPE_JSON)
1549 return Jsp->GetType();
1550//else if (Val)
1551// return Val->Type;
1552 else
1553 return DataType;
1554
1555} // end of GetValType
1556
1557/***********************************************************************/
1558/* Return the Value's Object value. */

Callers 15

SetJsonValueMethod · 0.80
SetJsonValueMethod · 0.80
MakeTypedValueFunction · 0.80
json_array_add_valuesFunction · 0.80
json_array_addFunction · 0.80
json_array_deleteFunction · 0.80
jsonsum_intFunction · 0.80
jsonsum_realFunction · 0.80
jsonavg_realFunction · 0.80
json_object_addFunction · 0.80
json_object_deleteFunction · 0.80
json_item_mergeFunction · 0.80

Calls 1

GetTypeMethod · 0.45

Tested by

no test coverage detected