Module:Items

local p = {}

function p.items(tbl,fields,args) local restbl = '' local results = cargo.query(tbl, fields, args) for r = 1, #results do       local result = results[r] -- Do something with the result table, e.g. result.alias1 end return restbl -- Items/format end

return p