docs: public Session getSysSessionForScript(Database db) {
  
          Session session = new Session(db, db.getUserManager().getSysUser(),
                                        false, false, false, 0, 0);
  
          session.isProcessingScript = true;
  
          return session;
      }