pgadmin4/web/pgadmin/tools/sqleditor
Yosry Muhammad 710d520631 Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760
When a query is run in the Query Tool, check if the source of the columns
can be identified as being from a single table, and that we have all
columns that make up the primary key. If so, consider the resultset to
be editable and allow the user to edit data and add/remove rows in the
grid. Changes to data are saved using SAVEPOINTs as part of any
transaction that's in progress, and rolled back if there are integrity
violations, without otherwise affecting the ongoing transaction.

Implemented by Yosry Muhammad as a Google Summer of Code project.
2019-07-17 11:45:20 +01:00
..
static Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760 2019-07-17 11:45:20 +01:00
templates/sqleditor/sql Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760 2019-07-17 11:45:20 +01:00
tests Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760 2019-07-17 11:45:20 +01:00
utils Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760 2019-07-17 11:45:20 +01:00
__init__.py Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760 2019-07-17 11:45:20 +01:00
command.py Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760 2019-07-17 11:45:20 +01:00