Skip to content
Commits on Dec 2, 2010
  1. @sylvinus

    Unique index support

    sylvinus committed
Commits on Nov 30, 2010
  1. @zefhemel

    index support (see README)

    zefhemel committed
Commits on Nov 3, 2010
  1. @rsaccon
Commits on Oct 18, 2010
  1. merged master and fixed conflicts

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

    Bruno Jouhier committed
    …pass but feature needs more unit tests
  3. @zefhemel

    Doc typo fix

    zefhemel committed
  4. @zefhemel

    Documentation update

    zefhemel committed
  5. documented the fact that prefetch is not allowed on mixins

    Bruno Jouhier committed
  6. fixed typo in readme

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

    Bruno Jouhier committed
  2. documented commit/rollback feature

    Bruno Jouhier committed
Commits on Oct 15, 2010
  1. @zefhemel

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

    zefhemel committed
      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 committed
Commits on Sep 26, 2010
  1. @zefhemel
Commits on Sep 22, 2010
  1. @zefhemel

    Another README fix...

    zefhemel committed
  2. @zefhemel

    README fixes

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

    Doc update

    zefhemel committed
  2. @zefhemel

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

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

    Rewrite and fixes to the README

    zefhemel committed
Commits on Jul 21, 2010
  1. @zefhemel

    Added AUTHORS file

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

    IMPORTANT: Minor breaking changes!

    zefhemel committed
    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
Commits on May 28, 2010
  1. @fgrehm
  2. @fgrehm

    Typo and link in documentation

    fgrehm committed
  3. @fgrehm

    Finishing up documentation

    fgrehm committed
Commits on May 17, 2010
  1. Added flattr link

    Zef Hemel committed
Commits on Apr 27, 2010
  1. Added an initial basic implementation of full-text search. See

    Zef Hemel committed
    README.search.md for usage.
Something went wrong with that request. Please try again.