Skip to content

Commit 0b17c29

Browse files
use any instead of interface{} in normalizeValue func
1 parent cf5c0b1 commit 0b17c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/bsql/query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ func (s *SQLSyncer) PrepareQueryVars(ctx context.Context, inputs map[string]any,
383383

384384
// normalizeValue converts CEL null types and other special values to Go nil for SQL compatibility
385385
// Also converts booleans to strings ("1"/"0") for Oracle compatibility when used in DECODE statements.
386-
func (s *SQLSyncer) normalizeValue(val interface{}) interface{} {
386+
func (s *SQLSyncer) normalizeValue(val any) any {
387387
if val == nil {
388388
return nil
389389
}

0 commit comments

Comments
 (0)