Skip to content

Fixes Postgres' ability to search within functions.#879

Merged
janmeier merged 1 commit intosequelize:masterfrom
durango:anyarray
Sep 3, 2013
Merged

Fixes Postgres' ability to search within functions.#879
janmeier merged 1 commit intosequelize:masterfrom
durango:anyarray

Conversation

@durango
Copy link
Copy Markdown
Member

@durango durango commented Sep 3, 2013

This is a pure and simple fix for searching with a Postgres' array column type.
This commit changes hashToWhereConditions by adding a second argument of sending
the factory's details over and checking for column type if the hash/value/first
argument is an array. For the actual search we just utilize a simple overlap &&
boolean search.

This is a pure and simple fix for searching with a Postgres' array column type.
This commit changes hashToWhereConditions by adding a second argument of sending
the factory's details over and checking for column type if the hash/value/first
argument is an array. For the actual search we just utilize a simple overlap &&
boolean search.
janmeier added a commit that referenced this pull request Sep 3, 2013
Fixes Postgres' ability to search within functions.
@janmeier janmeier merged commit 1c6255d into sequelize:master Sep 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants