zoho / cloudsql-client
There is no license information available for the latest version (dev-master) of this package.
Interface for making SQL query's to Zoho over HTTP
dev-master
2013-08-15 18:54 UTC
This package is not auto-updated.
Last update: 2024-11-05 05:56:55 UTC
README
A simple interface for using Zoho's CloudSQL API
Installation
Installation is conveniently provided via Composer.
To get started, install composer in your project:
$ curl -s https://getcomposer.org/installer | php
Next, add a composer.json file containing the following:
} "require": { "zoho/cloudsql-client": "dev-master" } }
Finally, install!
$ php composer.phar install
Usage
Using the Query class is easy:
<?php require_once 'Zoho_CloudDb_Query.php'; try { $query = new Zoho_CloudDb_Query(); $result = $query->setDb('your_db_table') ->setQuery('SELECT "column1" from "employee_id_table" where "column1" = 1234') ->run(); print_r(json_decode($result)); } catch (Exception $e) { echo $e->getMessage(); }
License
MIT