jrf0110 / dirac

A Node Postgres DB layer built with MoSQL
http://dirac.j0.hn
6 stars 2 forks source link

Documentation inconsistencies #59

Open jrf0110 opened 9 years ago

jrf0110 commented 9 years ago

As outlined in #58 there are a number of problems with docs:

Summary

  1. The callback of Dal.remove and Dal.update should be function( error, results ){ } instead of function( error, result ){ } and they will remove/update one or more documents if $query is an object . The documents need update.
  2. The first parameter fnName of before/after filter function is not optional .