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

Method NumColumns

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

NumColumns returns the number of columns in the table.

()

Source from the content-addressed store, hash-verified

19
20 // NumColumns returns the number of columns in the table.
21 NumColumns() int
22
23 // ColumnDescriptors returns the columns' field descriptors.
24 ColumnDescriptors() []ColumnDescriptor

Callers 13

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
TestRealUpdateRowsV2Method · 0.65
TestRealDeleteRowsV1Method · 0.65
TestRealDeleteRowsV2Method · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 12

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
TestRealUpdateRowsV2Method · 0.52
TestRealDeleteRowsV1Method · 0.52
TestRealDeleteRowsV2Method · 0.52