Function
NewDataEvent
(databaseName, tableName string, dml int8, columnCount uint64, timestamp uint32)
Source from the content-addressed store, hash-verified
| 109 | } |
| 110 | |
| 111 | func NewDataEvent(databaseName, tableName string, dml int8, columnCount uint64, timestamp uint32) *DataEvent { |
| 112 | event := &DataEvent{ |
| 113 | DatabaseName: databaseName, |
| 114 | TableName: tableName, |
| 115 | DML: dml, |
| 116 | ColumnCount: columnCount, |
| 117 | Timestamp: timestamp, |
| 118 | } |
| 119 | return event |
| 120 | } |
| 121 | |
| 122 | func NewQueryEvent(currentSchema, query string, dml int8, timestamp uint32, flags []byte) DataEvent { |
| 123 | event := DataEvent{ |
Tested by
no test coverage detected