2017 © Pedro Peláez
 

library sphinxql

Mysqli interface to SphinxQL

image

appzz/sphinxql

Mysqli interface to SphinxQL

  • Monday, May 22, 2017
  • by CoolSwitcher
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SphinxQL

Mysqli interface for SphinxQL, (*1)

//Select query
$db = \AppZz\DB\SphinxQL::factory ('127.0.0.1', 9323)
            ->select('index', ['id', 'title'])
            ->match('@field', 'foobar')
            ->where('field2', '>', 2)
            ->between('field3', 10, 90);

$result = $db->execute();

if ($result) {
    $data = $db->as_array();
    var_dump($data);
}

//Update RT index
$update = \AppZz\DB\SphinxQL::factory ('127.0.0.1', 9323)
            ->replace('index', ['id', 'title'])
            ->values([11, 'new title'])
            ->execute();          

//affected rows
var_dump($update);

The Versions

22/05 2017

dev-master

9999999-dev https://github.com/a-pp-zz/sphinxql.git

Mysqli interface to SphinxQL

  Sources   Download

MIT

The Requires

  • php >5.3.3

 

by Avatar CoolSwitcher

mysql sphinx sphinxql

22/05 2017

1.0.0

1.0.0.0 https://github.com/a-pp-zz/sphinxql.git

Mysqli interface to SphinxQL

  Sources   Download

MIT

The Requires

  • php >5.3.3

 

by Avatar CoolSwitcher

mysql sphinx sphinxql