Skip to content

Commit 6aea71b

Browse files
committed
crud: condition field may be string only
Relates to tarantool/crud#350
1 parent d7a422b commit 6aea71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crud/conditions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ type Condition struct {
2323
// is needed.
2424
_msgpack struct{} `msgpack:",asArray"` //nolint: structcheck,unused
2525
Operator Operator
26-
Field interface{} // Field name, field number or index name.
26+
Field string // Field name or index name.
2727
Value interface{}
2828
}

0 commit comments

Comments
 (0)