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

Query in support with slice args. #267

Merged
merged 2 commits into from Oct 12, 2018

Conversation

larrymjordan
Copy link
Member

@larrymjordan larrymjordan commented Oct 9, 2018

This PR allows to pass an slice for In even when using multiple wildcards in Where calls. This is related with an old issue reported in https://github.com/markbates/pop/issues/123

@larrymjordan larrymjordan requested a review from a team as a code owner October 9, 2018 19:44
@stanislas-m stanislas-m merged commit ced2fb2 into gobuffalo:development Oct 12, 2018
mclark4386 pushed a commit that referenced this pull request Oct 21, 2018
* [Fix] issue when using IN more than once '?' wildcards

* slices with in
stanislas-m pushed a commit that referenced this pull request Oct 26, 2018
* [Fix] issue when using IN more than once '?' wildcards

* slices with in
stanislas-m pushed a commit that referenced this pull request Oct 29, 2018
* [Fix] issue when using IN more than once '?' wildcards

* slices with in
stanislas-m pushed a commit that referenced this pull request Nov 3, 2018
* Reset to development

* Query in support with slice args. (#267)

* [Fix] issue when using IN more than once '?' wildcards

* slices with in

* Fix some code style issues

* Trim the Readme and add SHOULDERS (#268)

* The lastest docs are on the website, and keeping them here mislead users.
* Let's use SHOULDERS here too!

* improved cockroach configuration and fixed bugs on connection details (#271)

* improved cockroach configuration and fixed bugs on connection details

* oops! didn't remove debugging log

* bugfix: blank argument also affect as argument, in secure mode

* Should fix not being able to use existing models in eager create associations

* Should fix not being able to use existing models in eager create associations

* added test to show what happens with partial update of associated object

* added test to show what happens with partial update of associated object

* *saving spot so I can rebase, but it's broken this commit...

* *fixed bug and added a debug_test function to test script if needed

* *linting and some copy paste I thought I fixed

* *it may be done... going to improve testing to make sure it's good and solid

* *best to put the comment in the right place if it's going to remind me properly...

* *refactoring, bug fix, and better testing

* *remove debug logging

* *don't need that it would be doubling the call up since flat create handles it and that was called earlier

* *improved docs and test coverage

* *should fix requested changes (cleaned up the code a bit too)

* *shouldn't be checking empty incorrectly anymore

* *removed some un-needed code
*added some docs
*IsZeroOf now does a DeepEqual explictly

* Reset to development

* Query in support with slice args. (#267)

* [Fix] issue when using IN more than once '?' wildcards

* slices with in

* Fix some code style issues

* Trim the Readme and add SHOULDERS (#268)

* The lastest docs are on the website, and keeping them here mislead users.
* Let's use SHOULDERS here too!

* improved cockroach configuration and fixed bugs on connection details (#271)

* improved cockroach configuration and fixed bugs on connection details

* oops! didn't remove debugging log

* bugfix: blank argument also affect as argument, in secure mode

* Deprecate Left and Right InnerJoins in favor of one InnerJoin. (#275)

* Deprecate Left and Right InnerJoins in favor of one InnerJoin.

* Add oncer Deprecation notices to LeftInnerJoin and RightInnerJoin

* *should fix tests ('zero' UUIDs not getting seem as zero because they are converted to non-empty strings by ID())

* *updated update statement with more docs and to use sqlx.In

* Improved tests

* *couple of stupid ones

* *removed leftover import from conflict resolve merge

* *should fix checking an empty UUID in eagerCreate and validateAndOnlyCreate

* *fix some merge mistakes and a fix

* requested changes

* Fix merge issue
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.

None yet

3 participants