You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Query Builder for SphinxQL
10
10
11
11
This is a SphinxQL Query Builder used to work with SphinxQL, a SQL dialect used with the Sphinx search engine and it's fork Manticore. It maps most of the functions listed in the [SphinxQL reference](http://sphinxsearch.com/docs/current.html#SphinxQL-reference) and is generally [faster](http://sphinxsearch.com/blog/2010/04/25/sphinxapi-vs-SphinxQL-benchmark/) than the available Sphinx API.
12
12
13
-
This Query Builder has no dependencies except PHP 5.6, `\MySQLi` extension, and [Sphinx](http://sphinxsearch.com)/[Manticore](https://manticoresearch.com).
13
+
This Query Builder has no dependencies except PHP 5.6, `\MySQLi` extension, `PDO`, and [Sphinx](http://sphinxsearch.com)/[Manticore](https://manticoresearch.com).
14
14
15
15
### Missing methods?
16
16
@@ -73,6 +73,13 @@ $query = (new SphinxQL($conn))->select('column_one', 'colume_two')
73
73
$result = $query->execute();
74
74
```
75
75
76
+
### Drivers
77
+
78
+
We support the following database connection drivers:
79
+
80
+
* Foolz\SphinxQL\Drivers\Mysqli\Connection
81
+
* Foolz\SphinxQL\Drivers\Pdo\Connection
82
+
76
83
### Connection
77
84
78
85
*__$conn = new Connection()__
@@ -235,6 +242,7 @@ Will return an array with an `INT` as first member, the number of rows deleted.
235
242
```php
236
243
<?php
237
244
use Foolz\SphinxQL\SphinxQL;
245
+
238
246
try
239
247
{
240
248
$result = (new SphinxQL($conn))
@@ -338,6 +346,7 @@ Will return an array with an `INT` as first member, the number of rows deleted.
338
346
```php
339
347
<?php
340
348
use Foolz\SphinxQL\SphinxQL;
349
+
341
350
$result = (new SphinxQL($this->conn))
342
351
->select()
343
352
->from('rt')
@@ -403,6 +412,7 @@ The following methods return a prepared `SphinxQL` object. You can also use `->e
403
412
```php
404
413
<?php
405
414
use Foolz\SphinxQL\SphinxQL;
415
+
406
416
$result = (new SphinxQL($this->conn))
407
417
->select()
408
418
->from('rt')
@@ -443,6 +453,7 @@ The Percolate class provide a dedicated helper for inserting queries in a `perco
0 commit comments