Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more docs

  • Loading branch information...
commit 8013e5ffbf63837f05b35326cecda1e0d5df6ab5 1 parent 94a1c80
@dambalah dambalah authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -50,6 +50,8 @@ User.findOne({username: 'michael'}, function(err, michael) {
#### Instance methods that return values:
+The following methods return a boolean:
+
* isLeaf()
* isChild()
@@ -61,6 +63,8 @@ User.findOne({username: 'michael'}, function(err, michael) {
#### Instance methods that use a callback function:
+The following methods must be used with a callback. The callback method will be called with two arguments: the first argument is the error object (if there was no error, it will be null) and the second argument is the data returned.
+
* selfAndAncestors(callback)
* ancestors(callback)
Please sign in to comment.
Something went wrong with that request. Please try again.