I seem to get different results for find and find_one
local myguards, error = db.User:find_one( { UserType = ‘Guard’ } )
works great returns the first user
local myguards, error = db.User:find( { UserType = ‘Guard’ } )
returns an error {“error”:99,“result”:“Cannot serialise userdata: type not supported”}