Changeset View
Changeset View
Standalone View
Standalone View
src/KDbQuerySchema_p.h
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 36 | public: | |||
---|---|---|---|---|---|
94 | KDbTableSchema *masterTable; | 94 | KDbTableSchema *masterTable; | ||
95 | 95 | | |||
96 | /*! List of tables used in this query */ | 96 | /*! List of tables used in this query */ | ||
97 | QList<KDbTableSchema*> tables; | 97 | QList<KDbTableSchema*> tables; | ||
98 | 98 | | |||
99 | KDbField *fakeRecordIdField; //! used to mark a place for record Id | 99 | KDbField *fakeRecordIdField; //! used to mark a place for record Id | ||
100 | KDbQueryColumnInfo *fakeRecordIdCol; //! used to mark a place for record Id | 100 | KDbQueryColumnInfo *fakeRecordIdCol; //! used to mark a place for record Id | ||
101 | 101 | | |||
102 | //! Connection on which this query operates | | |||
103 | //! @todo use equivalent of QPointer<KDbConnection> | | |||
104 | KDbConnection* conn; | | |||
105 | | ||||
106 | protected: | 102 | protected: | ||
107 | void tryRegenerateExprAliases(); | 103 | void tryRegenerateExprAliases(); | ||
108 | 104 | | |||
109 | void setColumnAliasInternal(int position, const QString& alias); | 105 | void setColumnAliasInternal(int position, const QString& alias); | ||
110 | 106 | | |||
111 | /*! Used to mapping columns to its aliases for this query */ | 107 | /*! Used to mapping columns to its aliases for this query */ | ||
112 | QHash<int, QString> columnAliases; | 108 | QHash<int, QString> columnAliases; | ||
113 | 109 | | |||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |