An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/usox/hadb.svg?branch=master)](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