aboutsummaryrefslogtreecommitdiff
path: root/src/Search/SearchExpr.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Search/SearchExpr.php')
-rw-r--r--src/Search/SearchExpr.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Search/SearchExpr.php b/src/Search/SearchExpr.php
new file mode 100644
index 0000000..fbf2a40
--- /dev/null
+++ b/src/Search/SearchExpr.php
@@ -0,0 +1,14 @@
+<?php
+
+
+namespace Micropoly\Search;
+
+
+interface SearchExpr
+{
+ public function toString(): string;
+
+ public function toSQL(string $bindPrefix, bool $singleFTS): SQLSearchExpr;
+
+ public function countFTSQueries(): int;
+} \ No newline at end of file