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.

query_filter is not explained

See original GitHub issue

The method query_entities should link to documentation on how to construct a query_filter. At the moment it simply says Specify a filter to return certain entities which says very little in my opinion.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Danfernocommented, Mar 1, 2022

Thanks! If I could make one more request: on the samples page, could you perhaps add a bit more explanation on the use of quotes? In particular that in a string comparison, the string to compare to should be enclosed in complementary quotes if it is provided literally. It suppose it makes sense when you think about it, but it’s tripped me up a few times already (because the query filter itself is already enclosed in quotes).

Example: the A and B here are enclosed in single quotes “LastName ge ‘A’ and LastName lt ‘B’

1reaction
annatischcommented, Feb 28, 2022

Thanks for the feedback @Danferno! We have more details on this in the Samples directory here: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables/samples#writing-filters

However I agree that if you didn’t know to look there it would be hard to find. I will look at linking to this information from the SDK reference docs!

Read more comments on GitHub >

github_iconTop Results From Across the Web

QueryFilter - Amazon DynamoDB - AWS Documentation
In a Query operation, QueryFilter is a condition that evaluates the query results after the items are read and returns only the desired...
Read more >
Entity Framework Core: Global query filter not filtering correctly ...
If the date is filled, the row is considered deleted and filtered out: modelBuilder. Entity<TEntity>(). HasQueryFilter(e => !
Read more >
query filters are not applied recursively · Issue #11803 · dotnet ...
If query filter uses DbSet for which another query filter is defined, that second query filter is ignored. repro: class Program { public...
Read more >
Global Query Filters - EF Core - Microsoft Learn
Currently EF Core does not detect cycles in global query filter definitions, so you should be careful when defining them.
Read more >
JR49131: REST API QUERY FILTER DOES NOT ... - IBM
A problem occurs when using the filter 'NOT LIKE' as it will return all values that will contain the value specified in the...
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