Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scopes and building smart where objects closes #386 #748

Merged
merged 10 commits into from
Aug 23, 2013

Commits on Jul 5, 2013

  1. Several things in this commit: 1. New scope() functionality, works ve…

    …ry similar to ActiveRecord's scope. 2. Big internal changes (but as of right now only related to scope()) made for the {where} object when using finders. Could be useful for some, it basically breaks down several where objects into one concise object. 3. New where finders.. 'eq', 'like', 'nlike', 'notlike', and 'not' (not in). 4. New finder shortcuts, '..' for between and '..' for not between
    durango committed Jul 5, 2013
    Configuration menu
    Copy the full SHA
    2a5336a View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2013

  1. Fixed up some specs.

    durango committed Jul 9, 2013
    Configuration menu
    Copy the full SHA
    479cfde View commit details
    Browse the repository at this point in the history
  2. Added one more test spec as well as checking for access_level in one …

    …of the specs to make sure that we're getting the right information back.
    durango committed Jul 9, 2013
    Configuration menu
    Copy the full SHA
    81a2e3c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2013

  1. Configuration menu
    Copy the full SHA
    11adc6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00c856c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f7a926a View commit details
    Browse the repository at this point in the history
  4. Cleaned up the scopes code a bit, added more specs involving non exis…

    …ting scopes as well as a {silent} options as the last argument.
    durango committed Jul 11, 2013
    Configuration menu
    Copy the full SHA
    7484ade View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2013

  1. Merge branch 'master' into scopes

    Conflicts:
    	lib/dao-factory.js
    durango committed Jul 13, 2013
    Configuration menu
    Copy the full SHA
    4914341 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2013

  1. Configuration menu
    Copy the full SHA
    ba591e9 View commit details
    Browse the repository at this point in the history
  2. Cleaned up scopes/smartwhere, added another spec to make sure SQL is …

    …escaped, and fixed potential SQL injection problem with sqlite
    durango committed Jul 16, 2013
    Configuration menu
    Copy the full SHA
    3654655 View commit details
    Browse the repository at this point in the history