I am trying to get the data paginated, and I am trying all the methods and actions but still stuck while doing that. here is the methods I tried
read :list do
pagination do
keyset? true
offset? true
countable true
default_limit 10
end
end
read :list do
pagination do
offset? true
countable true
default_limit 10
end
filter expr(true)
end
I found all the result variables like count,more, before, after but while reading the documentation i found that the methods gives counts expect i got “nil” and for list i am doing this,
List item
allcontect =
People
|> Ash.Query.for_read(:list)
|> Ash.read!()