MCPcopy
hub / github.com/dropbox/godropbox / TableId

Method TableId

database/binlog/event_parser.go:9–9  ·  view source on GitHub ↗

TableId returns which table the context is referring to.

()

Source from the content-addressed store, hash-verified

7type TableContext interface {
8 // TableId returns which table the context is referring to.
9 TableId() uint64
10
11 // TableFlags returns the table's flags.
12 TableFlags() uint16

Callers 15

TestBasicMethod · 0.65
TestTableWithMetadataMethod · 0.65
TestAllColumnTypesMethod · 0.65
TestWriteRowsV1Method · 0.65
TestWriteRowsV2Method · 0.65
TestUpdateRowsV1Method · 0.65
TestUpdateRowsV2Method · 0.65
TestDeleteRowsV1Method · 0.65
TestDeleteRowsV2Method · 0.65
TestRealWriteRowsV1Method · 0.65
TestRealWriteRowsV2Method · 0.65
TestRealUpdateRowsV1Method · 0.65

Implementers 2

TableMapEventdatabase/binlog/table_map_event.go
testTableContextdatabase/binlog/rows_event_test.go

Calls

no outgoing calls

Tested by 15

TestBasicMethod · 0.52
TestTableWithMetadataMethod · 0.52
TestAllColumnTypesMethod · 0.52
TestWriteRowsV1Method · 0.52
TestWriteRowsV2Method · 0.52
TestUpdateRowsV1Method · 0.52
TestUpdateRowsV2Method · 0.52
TestDeleteRowsV1Method · 0.52
TestDeleteRowsV2Method · 0.52
TestRealWriteRowsV1Method · 0.52
TestRealWriteRowsV2Method · 0.52
TestRealUpdateRowsV1Method · 0.52