File: queryexecutordatasources.h

package info (click to toggle)
sqlitestudio 3.4.21%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 54,880 kB
  • sloc: ansic: 406,208; cpp: 123,872; yacc: 2,692; tcl: 497; sh: 462; xml: 426; makefile: 19
file content (24 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef QUERYEXECUTORDATASOURCES_H
#define QUERYEXECUTORDATASOURCES_H

#include "queryexecutorstep.h"

/**
 * @brief Finds all source tables.
 *
 * Finds all source tables for the SELECT query (if it's the last query in the query string)
 * and stores them in QueryExecutor::Context::sourceTables. They are later provided by QueryExecutor::getSourceTables()
 * as a meta information about data sources.
 *
 * Source tables are tables that result columns come from. If there's multiple columns selected
 * from single table, only single table is resolved.
 */
class QueryExecutorDataSources : public QueryExecutorStep
{
        Q_OBJECT
    public:
        bool exec();

};

#endif // QUERYEXECUTORDATASOURCES_H