MCPcopy Create free account
hub / github.com/Shopify/ghostferry / NonNumericPaginationKeyError

Function NonNumericPaginationKeyError

table_schema_cache.go:255–257  ·  view source on GitHub ↗

NonNumericPaginationKeyError exported to facilitate black box testing

(schema, table, paginationKey string)

Source from the content-addressed store, hash-verified

253
254// NonNumericPaginationKeyError exported to facilitate black box testing
255func NonNumericPaginationKeyError(schema, table, paginationKey string) error {
256 return fmt.Errorf("Pagination Key `%s` for %s is non-numeric", paginationKey, QuotedTableNameFromString(schema, table))
257}
258
259// NonBinaryCollationError exported to facilitate black box testing
260func NonBinaryCollationError(schema, table, paginationKey, collation string) error {

Callers 1

paginationKeyColumnMethod · 0.85

Calls 2

ErrorfMethod · 0.65

Tested by

no test coverage detected