Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
m110 committed Oct 15, 2024
1 parent 705f41f commit 034fb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/conditional_schema_adapter_postgresql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestConditionalPostgreSQLSchemaAdapter(t *testing.T) {

schemaAdapter := sql.ConditionalPostgreSQLSchema{
GenerateWhereClause: func(params sql.GenerateWhereClauseParams) (string, []any) {
return fmt.Sprintf("(metadata->>'skip') IS NULL OR (metadata->>'skip') != 'true'"), nil
return "(metadata->>'skip') IS NULL OR (metadata->>'skip') != 'true'", nil
},
}

Expand Down

0 comments on commit 034fb2a

Please sign in to comment.