https://github.com/usox/hadb
Query sql databases using hack in strict mode
https://github.com/usox/hadb
database hack hacklang hhvm pdo postgresql
Last synced: 21 days ago
JSON representation
Query sql databases using hack in strict mode
- Host: GitHub
- URL: https://github.com/usox/hadb
- Owner: usox
- License: mit
- Created: 2016-01-07T20:16:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-25T13:15:10.000Z (over 6 years ago)
- Last Synced: 2025-02-13T17:19:27.082Z (2 months ago)
- Topics: database, hack, hacklang, hhvm, pdo, postgresql
- Language: Hack
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/usox/hadb)
HaDb - Hack DB
==============Query sql databases using hack in strict mode - that's it.
Usage
-----Just create a config class using the `\Usox\HaDb\DatabaseConfigInterface` and
instantiate HaDb;```php
$database_config = new MyDatabaseConfig();$hadb = Usox\HaDb\DatabaseAdapter::factory(
$database_config
);
```Supported Databases
-------------------* PostgreSQL
* MySql