package storage type DBAdapter interface { // ConvertGenericPlaceholders replaces any generic `?` placeholders // in `query` for the database driver specific placeholders and returns // the updated query. ConvertGenericPlaceholders(query string, argsCount int) string // TableExists checks if the tableName exists within the // database currently connected to. TableExists(executor sqlExecutor, tableName string) (bool, error) // DatabaseName retrieves the currently selected database name. DatabaseName(executor sqlExecutor) (string, error) }