Closed iluvadev closed 1 year ago
Added in PocketBaseClient v.0.4.0 a Sort system to sort Filtered data:
var myTodos = myTodosCollection.Filter(todo => todo.Title.StartsWith("my todo"))
.SortBy(todo => todo.Created.Desc().AndThenBy(todo.Updated))
foreach(var myTodo in myTodos)
{
...
}
Issue solved using code generated with pbcodegen v0.5.0
In PocketBaseClient version 0.3.0, the filtering options were
GetItems()
Now, with PocketBaseClient version 0.4.0:
GetItems()
function: Filter isIEnumerable
, the filter is executed when needed, iterating over the filter