Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Commits on May 28, 2010
  1. @fgrehm
  2. @fgrehm

    Typo and link in documentation

    fgrehm authored
  3. @fgrehm

    Finishing up documentation

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

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

    Zef Hemel authored
    README.search.md for usage.
Commits on Apr 21, 2010
  1. Added link to Google Group

    Zef Hemel authored
Commits on Apr 11, 2010
  1. Added Fabio's Date type to documentation.

    Zef Hemel authored
  2. Merged changes from fgrehm's branch

    Zef Hemel authored
    (http://github.com/fgrehm/persistencejs). Thanks!
    
    Merge remote branch 'remotes/fgrehm/master'
    
    Conflicts:
    	persistence.js
    	persistence.min.js
Commits on Apr 10, 2010
  1. persistence.sync.js now keeps track of changes to all entities in

    Zef Hemel authored
    _Change table.
  2. Rewrote parts of readme. Added documentation for supported property

    Zef Hemel authored
    types, including new JSON type.
Commits on Apr 5, 2010
  1. @fgrehm

    Experimental QML support with HTML5 Synchronous DB API and fixing som…

    fgrehm authored
    …e undefined foreach loops variables.
Commits on Mar 22, 2010
  1. More info on asynchronous programming

    Zef Hemel authored
  2. Got rid of redundancy in readme.

    Zef Hemel authored
Commits on Mar 8, 2010
  1. Added WebOS to supported platforms.

    Zef Hemel authored
Something went wrong with that request. Please try again.