Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 14, 2011
  1. Zef Hemel
Commits on Dec 31, 2010
  1. Zef Hemel
Commits on Dec 15, 2010
  1. Zef Hemel

    Fixed tiny mistake in README

    zefhemel authored
Commits on Dec 2, 2010
  1. Sylvain Zimmer

    Unique index support

    sylvinus authored
Commits on Nov 30, 2010
  1. Zef Hemel

    index support (see README)

    zefhemel authored
Commits on Nov 3, 2010
  1. Roberto Saccon
Commits on Oct 18, 2010
  1. merged master and fixed conflicts

    Bruno Jouhier authored
  2. finished first pass on many to many support for mixins - basic tests …

    Bruno Jouhier authored
    …pass but feature needs more unit tests
  3. Zef Hemel

    Doc typo fix

    zefhemel authored
  4. Zef Hemel

    Documentation update

    zefhemel authored
  5. fixed typo in readme

    Bruno Jouhier authored
Commits on Oct 17, 2010
  1. first pass on mixins

    Bruno Jouhier authored
  2. documented commit/rollback feature

    Bruno Jouhier authored
Commits on Oct 15, 2010
  1. Zef Hemel

    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. Zef Hemel
Commits on Sep 29, 2010
  1. Zef Hemel

    Changed used mysql connector

    zefhemel authored
Commits on Sep 26, 2010
  1. Zef Hemel
Commits on Sep 22, 2010
  1. Zef Hemel

    Another README fix...

    zefhemel authored
  2. Zef Hemel

    README fixes

    zefhemel authored
  3. Zef Hemel
Commits on Sep 20, 2010
  1. Zef Hemel

    Doc update

    zefhemel authored
  2. Zef Hemel

    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. Zef Hemel
  2. Zef Hemel
Commits on Jul 21, 2010
  1. Zef Hemel

    Added AUTHORS file

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

    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. Zef Hemel
Commits on Jul 8, 2010
  1. Zef Hemel
Commits on Jun 23, 2010
  1. Zef Hemel
  2. Zef Hemel
Commits on May 28, 2010
  1. Fabio Rehm
  2. Fabio Rehm

    Typo and link in documentation

    fgrehm authored
Something went wrong with that request. Please try again.