MySQL 8.4.0
Source Code Documentation
anonymous_namespace{item_create.cc}::Json_length_instantiator Class Reference

Instantiates a call to JSON_LENGTH, which may take either one or two arguments. More...

Public Member Functions

Iteminstantiate (THD *thd, PT_item_list *args)
 

Static Public Attributes

static constexpr int Min_argcount = 1
 
static constexpr int Max_argcount = 2
 

Detailed Description

Instantiates a call to JSON_LENGTH, which may take either one or two arguments.

The two-argument variant is rewritten from JSON_LENGTH(doc, path) to JSON_LENGTH(JSON_EXTRACT(doc, path)).

Member Function Documentation

◆ instantiate()

Item * anonymous_namespace{item_create.cc}::Json_length_instantiator::instantiate ( THD thd,
PT_item_list args 
)
inline

Member Data Documentation

◆ Max_argcount

constexpr int anonymous_namespace{item_create.cc}::Json_length_instantiator::Max_argcount = 2
staticconstexpr

◆ Min_argcount

constexpr int anonymous_namespace{item_create.cc}::Json_length_instantiator::Min_argcount = 1
staticconstexpr

The documentation for this class was generated from the following file: