mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 14:26:52 +00:00
add partition key to id
This commit is contained in:
parent
d84b263aea
commit
b7d2d25f63
@ -88,7 +88,7 @@ SELECT
|
||||
'method',
|
||||
'block',
|
||||
'id',
|
||||
'Flipside/getBlock/' || block_id :: STRING,
|
||||
'Flipside/getBlock/' || partition_key || '/' || block_id :: STRING,
|
||||
'params',
|
||||
OBJECT_CONSTRUCT(
|
||||
'block_id',
|
||||
|
||||
@ -89,7 +89,7 @@ SELECT
|
||||
'method',
|
||||
'chunk',
|
||||
'id',
|
||||
'Flipside/getChunk/' || chunk_hash :: STRING,
|
||||
'Flipside/getChunk/' || partition_key || '/' || chunk_hash :: STRING,
|
||||
'params',
|
||||
OBJECT_CONSTRUCT(
|
||||
'chunk_id',
|
||||
|
||||
@ -98,7 +98,7 @@ SELECT
|
||||
'method',
|
||||
'EXPERIMENTAL_tx_status',
|
||||
'id',
|
||||
'Flipside/getTransactionWithStatus/' || tx_hash :: STRING,
|
||||
'Flipside/getTransactionWithStatus/' || partition_key || '/' || tx_hash :: STRING,
|
||||
'params',
|
||||
OBJECT_CONSTRUCT(
|
||||
'tx_hash',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user