From 6aea71b7a0cecf9d18b321688b90ba55457265e1 Mon Sep 17 00:00:00 2001 From: Oleg Jukovec Date: Wed, 22 Mar 2023 11:40:54 +0300 Subject: [PATCH] crud: condition field may be string only Relates to https://github.com/tarantool/crud/pull/350 --- crud/conditions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crud/conditions.go b/crud/conditions.go index c11da1c29..8945adcd1 100644 --- a/crud/conditions.go +++ b/crud/conditions.go @@ -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{} }