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

loopback postgresql connector neq with null check issue #3073

Closed
gopalakrishnan-subramani opened this issue Jun 9, 2019 · 2 comments
Closed
Labels
needs steps to reproduce Issues missing a small app and/or instructions for reproducing the problem

Comments

@gopalakrishnan-subramani

We have an critical issue, we could not filter not null values neq using postgresql with loopback find methods.

This is show stopper for our entire application, we need soft delete features based on timestamp data.
{ deleted_at: {neq: null} }

Any workaround possible without hitting DB performance? or if you could show a possible place to fix the bug, we will fix and contribute back with pull request.

@bajtos
Copy link
Member

bajtos commented Jun 18, 2019

Hi @gopalakrishnan-subramani, thank you for reporting the issue. Please create a small application reproducing the issue, see https://loopback.io/doc/en/contrib/Reporting-issues.html#loopback-4x-bugs.

I suspect the problem may be in the connector, here is the relevant code:

@bajtos bajtos added the needs steps to reproduce Issues missing a small app and/or instructions for reproducing the problem label Jun 18, 2019
@bajtos
Copy link
Member

bajtos commented Jun 18, 2019

I see that we already have an issue reported in our postgresql connector, let's move the discussion there.

loopbackio/loopback-connector-postgresql#340

@bajtos bajtos closed this as completed Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs steps to reproduce Issues missing a small app and/or instructions for reproducing the problem
Projects
None yet
Development

No branches or pull requests

2 participants