nPostgres is a PostgreSQL adapter for the Haxe and Neko platforms, providing full SPOD capabilities. There's a CFFI version available, if you need it.
Created by Jahred Love (https://github.com/Lazarus404). Additional contributions by Max S (https://github.com/maxless).