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

Function NonExistingPaginationKeyError

table_schema_cache.go:250–252  ·  view source on GitHub ↗

NonExistingPaginationKeyError exported to facilitate black box testing

(schema, table string)

Source from the content-addressed store, hash-verified

248
249// NonExistingPaginationKeyError exported to facilitate black box testing
250func NonExistingPaginationKeyError(schema, table string) error {
251 return fmt.Errorf("%s has no Primary Key to default to for Pagination purposes. Kindly specify a Pagination Key for this table in the CascadingPaginationColumnConfig", QuotedTableNameFromString(schema, table))
252}
253
254// NonNumericPaginationKeyError exported to facilitate black box testing
255func NonNumericPaginationKeyError(schema, table, paginationKey string) error {

Calls 2

ErrorfMethod · 0.65