question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add '.exclude()' method

See original GitHub issue

I want to select rows with a query where the values are not None when I’ve set a field as allow_null=True. It’s very possible that I’m missing something and that this can be achieved in another way.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aminalaeecommented, Aug 19, 2021

Done in #62.

1reaction
collerekcommented, Oct 22, 2020

Hi,

This project seems stale and from what I saw on encode page it’s not a priority right now. Since I was tired with reinventing the wheel and needed something as soon as possible I created ormar package, that was inspired by this one.

Ormar bases its validation on pydantic so it can be used directly with fastapi as response and request models.

This issue was implemented in ormar, so feel free to check it out: https://github.com/collerek/ormar

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exclude Method - IBM
Use this method in the subset definition to identify the categories to exclude from the query. To exclude more than one category from...
Read more >
java - How would I add an annotation to exclude a method ...
I've created the following in my codebase to exclude methods from being included in Jacoco report. @Retention(RetentionPolicy.
Read more >
[Proposal] add exclude() method in Builder class #4408 - GitHub
My BaseModel is the base class of all my models (duh). class BaseModel extends Model { public function newQuery() { $query = parent::newQuery(); ......
Read more >
How to exclude particular class name from CSS selector
In CSS, to exclude a particular class, we can use the pseudo-class :not selector also known as negation pseudo-class or not selector.
Read more >
EXCLUDE Level of Detail Expressions - Tableau Help
The INCLUDE keyword takes the context of the view and adds a dimension for the calculation to consider (and the EXCLUDE removes a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found