# # ITSV GmbH # CCDB - Command and Control Database # # FILE: dquerymfile_searchtype.txt # DESCRIPTION: DQUERY definition for DQUERY searchtype # this query implementes the API for searching a query # @querytitle Einen Datentyp suchen @querydescription inkrementelle Suche nach einem Datentyp indem in allen Teilen der Typ-Information nach gesucht wird @group API @attributenames searchstring:string:{{searchstringoptions}} @searchstringopions {"labeltext":"Suchtext","typedesc":"Teil der Information des gesuchten Datentyps"} @querytype dbselect @sql select RWNAME as value, CONCAT(RWNAME,' - ',RWVALUE) as dtext,CONCAT('ID: ',RWNAME,' Titel: ',RWVALUE,', Beschreibung: ',RWDESC) as title from CCRW where RWTYP='TYPE' and (RWNAME like CONCAT('%',::searchstring::,'%') or RWVALUE like CONCAT('%',::searchstring::,'%') or RWDESC like CONCAT('%',::searchstring::,'%'))