github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/vent/test/sqlsol_view.json (about) 1 [ 2 { 3 "TableName": "EventTest", 4 "Filter": "EventType = 'LogEvent' OR EventType = 'MultiSpoon' OR EventType = 'Splodge-Gniver' OR EventType = 'Splodge-Gniver' OR EventType = 'COLY-BLOPS'", 5 "DeleteMarkerField": "__DELETE__", 6 "FieldMappings": [ 7 { 8 "Field": "key", 9 "ColumnName": "testkey", 10 "Type": "bytes32", 11 "Primary": true, 12 "Notify": ["keyed_meta"] 13 }, 14 { 15 "Field": "name", 16 "ColumnName": "testname", 17 "Type": "bytes32", 18 "Primary": true, 19 "BytesToString": true, 20 "Notify": ["meta", "keyed_meta"] 21 }, 22 { 23 "Field": "description", 24 "ColumnName": "testdescription", 25 "Type": "bytes32", 26 "Primary": false, 27 "BytesToHex": true, 28 "Notify": ["meta", "keyed_meta"] 29 } 30 ] 31 }, 32 { 33 "TableName": "UserAccounts", 34 "Filter": "LOG1 = 'UserAccounts'", 35 "FieldMappings": [ 36 { 37 "Field": "userAddress", 38 "ColumnName": "address", 39 "Type": "address", 40 "Primary": true 41 }, 42 { 43 "Field": "userName", 44 "ColumnName": "username", 45 "Type": "string", 46 "Primary": false 47 } 48 ] 49 } 50 ]