# # ITSV GmbH # CCDB - Command and Control Database # # FILE: dquermfile_VIEWMFILE.txt # DESCRIPTION: DQUERY definition for CCDB DQUERY "VIEWMFILE" # @querytitle Managed File anzeigen @querydescription Das Query VIEWMFILE zeigt ein Managed File entsprechend seiner Type an @group DATAFILE @title Inhalt des Managed Files {{mfileid}} @decoration { decorate_colcell: [ { rawhtml: "@@celldata@@" }, { rawhtml: "@@celldata@@" } ] } # # original implementation: # # @querytype jsexpr # @attributenames mfileid:mfileid # @aexpression mfile.process_mfile(that,that.session,that.query.mfileid,{read_mode: 'line_by_line'},that) # ~query.tsteps # # <>: read the file line by line into a dbresult # aexpression mfile.process_mfile(this,this.session,this.query.mfileid,{read_mode: 'line_by_line'},this) result_varname fres post_qexpression this.result = this.fres;