Seperated the Param data from the model.
This makes saving and loading the parameter data easier to do without cluttering up the model class.
This commit is contained in:
parent
3bf1ef4fe0
commit
0cbd0d16a1
3 changed files with 29 additions and 15 deletions
|
|
@ -23,7 +23,7 @@ Pgsql::Params QueryParamListController::params() const
|
|||
{
|
||||
Pgsql::Params params;
|
||||
auto types = m_openDatabase->catalogue()->types();
|
||||
for (auto e : m_paramList) {
|
||||
for (auto e : m_paramList.GetParams()) {
|
||||
Oid oid = types->getByName(e.type).oid;
|
||||
params.add(e.value, oid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue