Using "dao:page()" with a where clause/filter


#1

Hi, I’m working on a plugin in Kong 1.0.2 with an admin API and I was wondering if it’s possible to use dao:page() with what is effectively a “where” clause. That is, get a page of entities with attributes that match the given clause, similar to dao:find_all() that was available in Kong 0.8.1

Is that possible to do in Kong 1.0.2? If so, would someone be able to provide an example on how to do so?

Thanks,

Leon