'integer', 'role_id' => 'integer']; public static function getRole(int $account_id) { return Db::table("account_role") ->leftJoin('role', 'role.role_id', '=', 'account_role.role_id') ->where('account_role.account_id', $account_id) ->select(["role.role_id", "role.role_name"])->get()->toArray(); } }