Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Do you know how Mysql query results are converted into json string output?
Do you know how Mysql query results are converted into json string output?
It's really okay to use sql, something like this:

Explain format = JSON select * from users where userid =1\ g.

The following are the syntax requirements of this statement:

MySQL Database: 5. 7. 20- Log MySQL Community Server (GPL)

Noun:

QEP: Query execution plan, query execution plan.

Grammar:

Explain [EXPLAIN _ type]{ explable _ stmt}

Type of explanation:

{Extension | Partition | Format = Format Name}

Format name:

{Traditional | JSON}

Explanatory _stmt:

{Select statement | Delete statement | Insert statement | Replace statement | Update statement}