Documentation
¶
Overview ¶
Package query contains all query string used throughout the project. While it may make sense if we put this part inside each business service package, we find that multiple services may re-use the same query. Thus, we put it here so that the same query can be re-used among all services if needed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPendingTransactionQueryString ¶
func GetPendingTransactionQueryString() string
GetPendingTransactionQueryString return query list transaction have status pending. Based on the state db document prefix, we basically get all documents that has prefix greater \u0000Transactions and less than \u0000Transaction + inf as well as pending status It is then sorted ascending based on the created timestamp
The corresponding index is defined in the META-INF directory
func GetTransactionByBlockchainId ¶
GetTransactionByBlockchainId return query string to get all transaction buy blockchainId
Types ¶
This section is empty.