github.com/Tri-stone/burrow@v0.25.0/vent/test/sqlsol_example.json (about) 1 [ 2 { 3 "TableName": "EventTest", 4 "Filter": "EventType = 'LogEvent'", 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 "Notify": ["meta", "keyed_meta"] 28 } 29 ] 30 }, 31 { 32 "TableName": "UserAccounts", 33 "Filter": "LOG1 = 'UserAccounts'", 34 "FieldMappings": [ 35 { 36 "Field": "height", 37 "ColumnName": "_height", 38 "Type": "string", 39 "Notify": ["meta", "keyed_meta"] 40 }, 41 { 42 "Field": "userAddress", 43 "ColumnName": "address", 44 "Type": "address", 45 "Primary": true 46 }, 47 { 48 "Field": "userName", 49 "ColumnName": "username", 50 "Type": "string", 51 "Primary": false 52 } 53 ] 54 } 55 ]