Skip to content

Commit

Permalink
crud: condition field may be only string
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-jukovec committed Mar 22, 2023
1 parent d7a422b commit ef5afb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crud/conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ type Condition struct {
// is needed.
_msgpack struct{} `msgpack:",asArray"` //nolint: structcheck,unused
Operator Operator
Field interface{} // Field name, field number or index name.
Field string // Field name or index name.
Value interface{}
}

0 comments on commit ef5afb4

Please sign in to comment.