PagesDatabase
Functions
fromPageData
Constructs a database from static page data instead of a live Pages instance, for consumers
that already hold the full result set -- e.g. a test fabricating an engine pages result through
PagesProxy. Each entry in pageData is one page's item array; the last page reads back
IsFinished = true. Empty pageData mirrors an empty engine result: a single empty page that
is already finished.
local pages = PagesProxy.new(PagesDatabase.fromPageData({
{ "a", "b" },
{ "c" },
}))