jl/test

41 lines
864 B
Plaintext
Raw Normal View History

2018-09-20 20:07:54 -04:00
insert into evt.bpr(bpr)
SELECT
$${
"gl": {
"lines": [
{
"amount": 2.19,
"account": "h.food"
},
{
"amount": -2.19,
"account": "h.dcard"
}
],
"jpath": [
[
"{item,0}",
"{header}"
],
[
"{item,0}",
"{header}"
]
]
},
"item": [
{
"item": "green olives",
"amount": 2.19,
"reason": "food",
"account": "h.food"
}
],
"header": {
"entity": "home",
"module": "MHI",
"offset": "h.dcard",
2018-09-20 22:13:06 -04:00
"transaction": "purchase",
"date": "2018-08-01"
2018-09-20 20:07:54 -04:00
}
2018-09-18 00:12:06 -04:00
}$$::jsonb bpr