Skip to content

dbalakov/zatanna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Introduction

Zatanna is a DAO implementation for postgresql.

#Example

##Insert/Update/Delete data

var Zatanna = require("zatanna");

var dao = new Zatanna(config, path);
dao.organizations.insert({ id : 1, name : 'Umbrella' });
dao.organizations.insert({ id : 2, name : 'Cyberdyne Systems' });
dao.execute().then(...).catch(...);

##Select

var Zatanna = require("zatanna");

var dao = new Zatanna(config, path);
dao.organizations.select().then(...).catch(...);

About

Nodejs postgresql DAO

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •