secure SequoiaDB, use SSL connection More...
#include <sequoiadb.h>
Additional Inherited Members | |
Public Member Functions inherited from SequoiaDB | |
__construct (string $hostName=NULL, string $userName=NULL, string $password=NULL) | |
creates a new database connection object | |
void | install (array|string $install) |
set function, "install" default is true, output array, set false, output string | |
array string | getError (void) |
When function return type is "array|string", the return content contains the error code,. | |
array string | connect (string $hostName, string $userName=NULL, string $password=NULL) |
Connect to database. | |
void | close (void) |
Disconnect to database. | |
SequoiaCursor | execSQL (string $sql) |
execute of SQL code | |
array string | execUpdateSQL (string $sql) |
execute of SQL code | |
SequoiaCursor | getSnapshot (int $snapType, array|string $condition=NULL, array|string $select=NULL, array|string $orderBy=NULL) |
Get the snapshot. | |
SequoiaCursor | getList (int $listType, array|string $condition=NULL, array|string $select=NULL, array|string $orderBy=NULL) |
Get the specified list. | |
SequoiaGroup | selectGroup (string $name) |
Gets group object. | |
array string | resetSnapshot (void) |
Reset the snapshot. | |
SequoiadbCS | selectCS (string $name, int $pageSize=4096) |
Gets a collection Space, if is not exist,will auto create. | |
SequoiaCursor | listCSs (void) |
Lists all of the collection space. | |
SequoiaCursor | listCollections (void) |
Lists all of the collection. | |
array string | createCataGroup (string $hostname, string $serviceName, string $databasePath, array|string $config) |
create cata group | |
array string | dropCollectionSpace (string $name) |
drop a collection Space | |
secure SequoiaDB, use SSL connection