mirror of
https://github.com/FlipsideCrypto/terra-models.git
synced 2026-02-06 13:36:43 +00:00
changed message_value to get attribute based on msg_index
This commit is contained in:
parent
df97b59448
commit
ce946ffaec
@ -1,5 +1,5 @@
|
||||
{% docs message_value %}
|
||||
|
||||
The value of the messages in an array.
|
||||
The value of the messages based on the index.
|
||||
|
||||
{% enddocs %}
|
||||
|
||||
@ -15,7 +15,7 @@ WITH txs AS (
|
||||
VALUE :events AS logs,
|
||||
VALUE :msg_index :: NUMBER AS message_index,
|
||||
tx :body :messages [0] :"@type" :: STRING AS message_type,
|
||||
tx :body :messages AS message_value,
|
||||
tx :body :messages [message_index] AS message_value,
|
||||
_ingested_at,
|
||||
_inserted_timestamp
|
||||
FROM
|
||||
|
||||
Loading…
Reference in New Issue
Block a user