Open
Description
Feature description
Currently when parsing a message we put all the involved accounts addresses inside the involved_addresses
column. This later allows to query the transactions inside which a specific account is involved. Although this works, there is a better way to allow such searches: search directly inside the raw JSON value of a message.
Implementation proposal
To do this, we could try:
- using
GIN
indexes to index the raw message value; - using JSON operators.
Another alternative is to read the message value as a TEXT
and then using the LIKE
operator:
SELECT * FROM message WHERE (SELECT CAST(message AS TEXT) LIKE "%address%")
Metadata
Metadata
Assignees
Labels
No labels