autoquery-servicestack

AutoQuery / Ormlite-servicestack: Can I filter out soft deletes on a QueryDb class?

一曲冷凌霜 提交于 2020-01-05 03:56:11
问题 We have a few services built up with Ormlite/Servicestack and we are mostly pulling out database objects and POCOs using QueryData with custom logic. However, we have one table that really doesn't need to be logically expanded on and works just fine querying the DB directly from the front end using AutoQuery and URL params. However, this table contains an isDeleted column to track soft deletes. The front end should not have any soft-deleted items, and we believe the front end shouldn't be