go-gorm / go-gorm/datatypes

Support json_each

Open
#19 0 comments 0 reactions 1 assignee Claimed by @jinzhu View on GitHub
Dominant language
Go
Stars
831
Forks
124
PR merge metrics
No merged PRs in 30d

Description

The table like
![image](https://user-images.githubusercontent.com/66301650/97924216-3ec1f600-1d9a-11eb-8ece-d507d1fe95be.png)

Need support json_each query like
```
select * from json_test_table, json_each(json_test_table.content) where json_each.value = 3;
```

it will match result with :

```
[
{
"id": 2,
"content": "[4, 3, 9, 168, 17173]",
"key": 1,
"value": 3,
"type": "integer",
"atom": 3,
"parent": null,
"fullkey": "$[1]",
"path": "$"
}
]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.