database - Azure Table Storage query for records based on property that may not exist for all records -


i using azure table storage service , trying introduce soft delete feature it. adding property ismarkedfordeletion entries marked deletion. when query, need entries not marked deletion. in fields not deleted, ismarkedfordeletion not exist.

i have tried following:

<...query...> , (ismarkedfordeletion ne true) <...query...> , (ismarkedfordeletion eq false) <...query...> , (not (ismarkedfordeletion ne false)) <...query...> , (not (ismarkedfordeletion eq true))  <...query...> , (not (ismarkedfordeletion eq null)) => returns 501 not implemented 

none of them showed entries did not have ismarkedfordeletion property in them.

what do records not have ismarkedfordeletion records ismarkedfordeletion property exists, false?

i have thought scrubbing database , adding ismarkedfordeletion records, or filtering results myself after query executed, in query easy me while creating segmented requests , paging results.

i not think possible, try check if field equal null, don't know if solve issue. table storage has no schema, , not intended used querying fields other partition key , row key. think result faster getting result given pk+rk , filtering them out later out, leaving table storage filter on field not in pk+rk pair.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

c# - MSDN OneNote Api: Navigate to never before opened page without opening a OneNote Application Window -