Skip to main content
col_to_json
yggdrasil
0.9.0
In yggdrasil::
api::
database::
sql_
console
yggdrasil
::
api
::
database
::
sql_console
Function
col_
to_
json
Copy item path
Source
fn col_to_json(row: &Row, idx:
usize
) ->
Value
Expand description
把一列的值转成 JSON(按 PG 类型名分发)。