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
For Postgres: 'QueryBuilder' object has no attribute 'where_between' #447
Comments
A similar issue is discussed (and solved) here #407 |
The solution here could be to just alias the between method with a new where_between method |
@josephmancuso The feature of between/not between is working in tests ( testing against generated sql is fine ) but when calling by QueryBuilder or Model it fails. I suspect that q_mark() method isn't marking sql to fill with bindings. I'm seeing this, but is odd.. In QueryBuilder when in .get() method is changed to the following snippet works:
Just in couterpart a bunch of tests failing haha |
I don't understand? There should be no where_between method. The correct method is called between. builder.between() |
You're right. The builder.between() in tests are working because it are tested against in sql grammar, but then it is ran using some database it fail. |
For Postgres: 'QueryBuilder' object has no attribute 'where_between':
` def get_pg_data_date(self, tabelle, startDate, endDate):
`
The text was updated successfully, but these errors were encountered: