Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 51a6eb0

Browse files
committedMar 23, 2023
crud: condition field may be string only
Relates to tarantool/crud#350
1 parent d7a422b commit 51a6eb0

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)
Please sign in to comment.