Skip to content

Instantly share code, notes, and snippets.

@ben-ng
Last active December 19, 2015 04:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ben-ng/5898488 to your computer and use it in GitHub Desktop.
MILK:geddy-model omnomnomben$ git log
commit a487945cf187869679e5ef646f2ffff0589a53e6
Merge: 31af941 7a60fca
Author: Matthew Eernisse <mde@fleegix.org>
Date: Sun Jun 30 22:04:35 2013 -0700
Merge pull request #70 from ben-ng/fix-memory-like
Fix memory LIKE & bugfix in mongo
commit 7a60fca6403cab7a7ff9896c1af96ca7165d5d3c
Author: Ben Ng <me@benng.me>
Date: Sun Jun 30 21:45:10 2013 -0700
Fix memory adapter LIKE to match Mongo & Postgres
commit b9d5daf6f9c0e82d86d5b38ec6440b9d9b915a6c
Author: Ben Ng <me@benng.me>
Date: Sun Jun 30 21:25:42 2013 -0700
Fixes a bug where string equality matches could be manipulated by regex metacharacters
commit 31af941fbea4ebd695f498dbf4bd8e66b174740f
Author: mde <mde@fleegix.org>
Date: Sun Jun 30 19:52:16 2013 -0700
Change registration API to allow registering as a group, followed by setup of association foreign keys
commit d58d32355424e0febddfd90de9318fce6d212637
Author: mde <mde@fleegix.org>
Date: Sun Jun 30 19:52:01 2013 -0700
Removed logging statements
commit 15c506dcf2ff200c6edeae082213247929a6a765
Author: mde <mde@fleegix.org>
Date: Sun Jun 30 18:31:23 2013 -0700
Better normalization of passed-in association names
commit c798215838f47495b4fa6e1ada9fa98542272fc5
Merge: e3d757b 618027c
Author: mde <mde@fleegix.org>
Date: Sat Jun 29 16:39:39 2013 -0700
Merge branch 'master' of github.com:mde/model
commit 618027c6d54c88accda6feb93769c13bdb4ac4a3
Merge: 2a1310a c668a8e
Author: Matthew Eernisse <mde@fleegix.org>
Date: Sat Jun 29 16:38:34 2013 -0700
Merge pull request #67 from ben-ng/mongo-like-regex
Allow LIKE to match globally with Mongo
MILK:geddy-model ben$ jake test[postgres]
*** Running test/integration/adapters/sql/postgres.js ***
test create adapter
test exec
test save new
test first
test remove
test save new, string UUID id, required nunmber is 0 (Postgres)
test save new, string UUID id, required number is 1 (Postgres)
test first via string id (Postgres)
test datetime round-trip (Postgres)
test first via object (Postgres)
test save existing (Postgres)
test save collection (Postgres)
single-quote in string property (Postgres)
test all, by string equality (Postgres)
test all, by string with metacharacters equality (Postgres)
test all, by string case-insensitive bool (Postgres)
test all, by string LIKE case-sensitive (Postgres)
test all, by string LIKE percent in front (Postgres)
test all, by string LIKE percent in back (Postgres)
test all, by string LIKE percent front and back (Postgres)
test all, by string LIKE case-insensitive bool (Postgres)
test all, by LIKE case-insensitive array (Postgres)
test all, by string LIKE case-insensitive percent in front (Postgres)
test all, by string LIKE case-insensitive percent in back (Postgres)
test all, by string LIKE case-insensitive percent front and back (Postgres)
test all, by IN (Postgres)
test all, sort string column name (Postgres)
test all, sort incorrect string column name (Postgres)
test all, sort array column names (Postgres)
test all, sort object literal desc (Postgres)
test all, sort object literal asc (Postgres)
test all, sort incorrect sort direction (Postgres)
test all, sort object literal desc, limit 2 (Postgres)
test all, using or, simple equality (Postgres)
test all, using or, simple equality on id field (Postgres)
test all, using or, like comparison (Postgres)
test all, using or, like comparison with not (Postgres)
test all, using less-than createdAt (Postgres)
test remove (Postgres)
test remove collection (Postgres)
test hasOne association (Postgres)
jake aborted.
TypeError: Cannot read property 'datatype' of undefined
at _createComparison (/Users/ben/Documents/geddy-model/lib/query/query.js:184:27)
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment