Added some log and started testing array manip. Fixed some errors already
This commit is contained in:
@@ -312,7 +312,8 @@ pub const Filter = struct {
|
||||
else => unreachable,
|
||||
},
|
||||
|
||||
// TODO: Add stuff to compare array, now condition with value as int, operator as in and to compare as []int should exist
|
||||
// TODO: Also be able to it for array to array. Like names in ['something']
|
||||
// And it is true if at least one value are shared between array.
|
||||
.in => switch (condition.data_type) {
|
||||
.link => condition.value.link.contains(UUID{ .bytes = row_value.UUID }),
|
||||
.int => in(i32, row_value.Int, condition.value.int_array),
|
||||
|
||||
Reference in New Issue
Block a user