github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/vent/test/sqlsol_log.json (about)

     1  [
     2    {
     3      "TableName": "EventTest",
     4      "Filter": "EventType = 'LogEvent'",
     5      "FieldMappings": [
     6        {
     7          "Field": "key",
     8          "ColumnName": "testkey",
     9          "Type": "bytes32",
    10          "Primary": false,
    11          "Notify": ["keyed_meta"]
    12        },
    13        {
    14          "Field": "name",
    15          "ColumnName": "testname",
    16          "Type": "bytes32",
    17          "Primary": false,
    18          "BytesToString": true,
    19          "Notify": ["meta", "keyed_meta"]
    20        },
    21        {
    22          "Field": "description",
    23          "ColumnName": "testdescription",
    24          "Type": "bytes32",
    25          "Primary": false,
    26          "BytesToHex": true,
    27          "Notify": ["meta", "keyed_meta"]
    28        }
    29      ]
    30    },
    31    {
    32      "TableName": "UserAccounts",
    33      "Filter": "LOG1 = 'UserAccounts'",
    34      "FieldMappings": [
    35        {
    36          "Field": "userAddress",
    37          "ColumnName": "address",
    38          "Type": "address",
    39          "Primary": false
    40        },
    41        {
    42          "Field": "userName",
    43          "ColumnName": "username",
    44          "Type": "string",
    45          "Primary": false
    46        }
    47      ]
    48    }
    49  ]