mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 08:08:02 +00:00
Add some minor tweaks to the code blocks.
This commit is contained in:
@@ -7,8 +7,8 @@ get at the license number in this JSON column
|
|||||||
|
|
||||||
```sql
|
```sql
|
||||||
owner
|
owner
|
||||||
------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
{ "name": "Jason Borne", "license": { "number": "T1234F5G6", "state": "MA" } }
|
'{ "name": "Jason Borne", "license": { "number": "T1234F5G6", "state": "MA" } }'
|
||||||
```
|
```
|
||||||
|
|
||||||
Unfortunately, the `->` operator isn't going to do the trick. You need the
|
Unfortunately, the `->` operator isn't going to do the trick. You need the
|
||||||
@@ -19,7 +19,7 @@ Unfortunately, the `->` operator isn't going to do the trick. You need the
|
|||||||
|
|
||||||
json_extract_path
|
json_extract_path
|
||||||
-------------------
|
-------------------
|
||||||
T1234F5G6
|
'T1234F5G6'
|
||||||
```
|
```
|
||||||
|
|
||||||
Read more about [JSON Functions and
|
Read more about [JSON Functions and
|
||||||
|
|||||||
Reference in New Issue
Block a user