Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status

HaRM - Hack Relation Mapper

Goal

The main purpose of HaRM is to perform simple CRUD-Operations in hack strict mode - that's it.

Usage

  • Create a .harm file containing the database structure (see tests/sample.harm for a boilerplate).
  • Generate interface ./bin/harmgen interface <path_to_your_harm_file> > MyTableInterface.hh
  • Generate table ./bin/harmgen table <path_to_your_harm_file> > MyTable.hh
  • Use your existing PDO instance for the database connection

See the generated interface for further information.

You can’t perform that action at this time.