New column page
Shows SQL for columns ALTER TABLE ... [ADD|DROP] COLUMN combines a selection of multiple columns into a single alter table. Show collation in list of columns. (order of columns isn't what is should be but that should maybe be fixed by a generic column selection and ordering mechanism that knows what the default sort should be)
This commit is contained in:
parent
73c4cf4790
commit
57217974f4
19 changed files with 345 additions and 55 deletions
25
pglablib/PgCollationContainer.h
Normal file
25
pglablib/PgCollationContainer.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef PGCOLLATIONCONTAINER_H
|
||||
#define PGCOLLATIONCONTAINER_H
|
||||
|
||||
#include "PgContainer.h"
|
||||
#include "PgCollation.h"
|
||||
|
||||
namespace Pgsql {
|
||||
|
||||
class Result;
|
||||
|
||||
}
|
||||
|
||||
|
||||
class PgCollationContainer: public PgContainer<PgCollation> {
|
||||
public:
|
||||
using PgContainer<PgCollation>::PgContainer;
|
||||
|
||||
virtual std::string getLoadQuery() const override;
|
||||
protected:
|
||||
PgCollation loadElem(const Pgsql::Row &row) override;
|
||||
private:
|
||||
};
|
||||
|
||||
|
||||
#endif // PGCOLLATIONCONTAINER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue