function user_id( sessionID )
{
db
.where({ session_id: battleData })
.get('vp_sessions', unserialize);
}
function unserialize(err, results, fields)
{
var serialized = results[0];
return PHPUnserialize.unserialize(serialized.user_data);
}
是否可以返回反序列化的返回值?