We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b294545 commit 11c8b7aCopy full SHA for 11c8b7a
src/Typesense/Query.php
@@ -88,7 +88,7 @@ private function transformValueForTypeSense(string $schemaType, mixed $value): m
88
return match (str_replace('[]', '', $schemaType)) {
89
'int32', 'int64' => (int) $value,
90
'float' => (float) $value,
91
- 'bool' => (bool) $value,
+ 'bool' => $value ? 'true' : 'false',
92
default => '`'.$value.'`'
93
};
94
}
0 commit comments