Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 19, 2011
  1. @zefhemel

    Merge pull request #45 from chetan51/patch-1

    zefhemel authored
    Edited README.md via GitHub
Commits on May 11, 2011
  1. @zefhemel

    Fixed typo in example code.

    zefhemel authored
Commits on Jan 26, 2011
  1. @zefhemel

    Fix

    zefhemel authored
  2. @zefhemel
Commits on Jan 14, 2011
  1. @zefhemel
Commits on Dec 31, 2010
  1. @zefhemel
Commits on Dec 15, 2010
  1. @zefhemel

    Fixed tiny mistake in README

    zefhemel authored
Commits on Nov 30, 2010
  1. @zefhemel

    index support (see README)

    zefhemel authored
Commits on Oct 18, 2010
  1. @zefhemel

    Doc typo fix

    zefhemel authored
  2. @zefhemel

    Documentation update

    zefhemel authored
Commits on Oct 15, 2010
  1. @zefhemel

    Added or filters, usage (example in test/test.persistence.js):

    zefhemel authored
      for(var i = 0; i < 10; i++) {
        var task = new Task({name: "Task " + i});
        task.done = i % 2 === 0;
        persistence.add(task);
      }
    
      Task.all().filter("done", "=", true).or(new persistence.PropertyFilter("done", "=", false)).list(function(results) {
          equals(results.length, 10, "right number of results");
          Task.all().filter("done", "=", true).and(new persistence.PropertyFilter("done", "=", false)).list(function(results) {
            equals(results.length, 0, "right number of results");
            start();
          });
        });
Commits on Oct 14, 2010
  1. @zefhemel
Commits on Sep 29, 2010
  1. @zefhemel

    Changed used mysql connector

    zefhemel authored
Commits on Sep 26, 2010
  1. @zefhemel
Commits on Sep 22, 2010
  1. @zefhemel

    Another README fix...

    zefhemel authored
  2. @zefhemel

    README fixes

    zefhemel authored
  3. @zefhemel
Commits on Sep 20, 2010
  1. @zefhemel

    Doc update

    zefhemel authored
  2. @zefhemel

    Set-up library to be used a node library installable via npm. In fact,

    zefhemel authored
    it's published on npm right now.
Commits on Aug 19, 2010
  1. @zefhemel
  2. @zefhemel
Commits on Jul 21, 2010
  1. @zefhemel

    Added AUTHORS file

    zefhemel authored
Commits on Jul 16, 2010
  1. @zefhemel
  2. @zefhemel
  3. @zefhemel

    IMPORTANT: Minor breaking changes!

    zefhemel authored
    I wrote a little library (http://github.com/zefhemel/argspecjs -- code
    is also embedded into `persistence.js`), to more cleanly handle
    optional function arguments in Javascript. The result of this is that
    any optional argument (sometimes passed as `null`) can now be left out
    and _has_ to be left out if no value is to be assigned to it.
    
    Here's how this will impact your code:
    
        Task.all().list(null, function(results) {
          ...
        });
    
    Will no longer work, because `null` is considered a "real" value. You
    either leave out the argument, or you use `undefined` instead of `null`,
    leaving it out is probably cleaner:
    
        Task.all().list(function(results) {
          ...
        });
    
    Although this will break existing code, it will also clean your code up.
Commits on Jul 13, 2010
  1. @zefhemel
Commits on Jul 8, 2010
  1. @zefhemel
Commits on Jun 23, 2010
  1. @zefhemel
  2. @zefhemel
Something went wrong with that request. Please try again.