Reputation: 31
var entities = await db.LoadSelectAsync(_ => true); Is there a way to do this without sending a param? something like a LoadSelectAll()? thanks in advance.
Upvotes: 1
Views: 94
Reputation: 143319
You can select from an empty SqlExpression<T>
without any filter conditions, e.g:
var entities = await db.LoadSelectAsync(db.From<Table>());
Upvotes: 1