1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add some minor tweaks to the code blocks.

This commit is contained in:
jbranchaud
2015-06-03 08:40:26 -05:00
parent 89d1274f81
commit 5483aa8dd7

View File

@@ -7,8 +7,8 @@ get at the license number in this JSON column
```sql
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
@@ -19,7 +19,7 @@ Unfortunately, the `->` operator isn't going to do the trick. You need the
json_extract_path
-------------------
T1234F5G6
'T1234F5G6'
```
Read more about [JSON Functions and