Added some log and started testing array manip. Fixed some errors already

This commit is contained in:
2025-01-25 21:15:04 +01:00
parent 4066803ecd
commit baf6cd2284
11 changed files with 112 additions and 57 deletions
+2 -1
View File
@@ -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),