MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / prepareQueryAppliedProcessingStep_

Method prepareQueryAppliedProcessingStep_

src/openms/source/FORMAT/OMSFileLoad.cpp:224–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222
223
224 bool OMSFileLoad::prepareQueryAppliedProcessingStep_(SQLite::Statement& query,
225 const String& parent_table)
226 {
227 String table_name = parent_table + "_AppliedProcessingStep";
228 if (!db_->tableExists(table_name)) return false;
229
230 //
231 String sql_select = "SELECT * FROM " + table_name.toQString() +
232 " WHERE parent_id = :id ORDER BY processing_step_order ASC";
233 query = SQLite::Statement(*db_, sql_select);
234 return true;
235 }
236
237
238 void OMSFileLoad::handleQueryMetaInfo_(SQLite::Statement& query,

Callers

nothing calls this directly

Calls 3

StatementClass · 0.85
tableExistsMethod · 0.80
toQStringMethod · 0.45

Tested by

no test coverage detected