PoQuery
Manages a PQL query. See PQL for more information on how to write queries.
Factories
parse(pql: string): PoQuery
v1.0
Parses the given PQL and returns a PoQuery
Example
local only_ubuntu = PoQuery.parse("ubuntu")
if only_ubuntu:includes(ts) then
print("The torrent contains 'ubuntu' in its name")
end
Methods
includes(torrent: LtTorrentStatus): boolean
v1.0
Returns true if the given torrent status is matched by the filter.