pgadmin4/web/pgadmin/tools/sqleditor/tests
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
..
__init__.py Update copyright notices for 2019 2019-01-02 15:54:12 +05:30
execute_query_utils.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
test_download_csv_query_tool.py Add tests for the CSV download. 2019-04-11 17:15:01 +01:00
test_editor_history.py Make the Query Tool history persistent across sessions. Fixes #4017 2019-03-13 13:37:34 +00:00
test_encoding_charset.py Revert "Remove the cp1252 test to see if it un-breaks the Windows buildfarm runs." 2019-03-18 09:28:28 +00:00
test_explain_plan.py Fix handling of JSON in the Query Tool with NULL elements. Fixes #4263 2019-05-23 08:53:29 +01:00
test_explain_plan_templates.py Add EXPLAIN options for SETTINGS and SUMMARY. Fixes #4335 2019-07-03 13:57:56 +01:00
test_extract_sql_from_network_parameters.py Update copyright notices for 2019 2019-01-02 15:54:12 +05:30
test_is_query_resultset_updatable.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
test_poll_query_tool.py Update copyright notices for 2019 2019-01-02 15:54:12 +05:30
test_save_changed_data.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
test_sql_ascii_encoding.py Fixed feature test issues 2019-04-05 12:25:03 +05:30
test_start_query_tool.py Prevent auto-commit/rollback being changed mid-transaction, and make the Preferences the defaults, not the current values. 2019-03-04 10:44:31 +00:00
test_view_data_templates.py Fix regression tests. 2019-06-20 13:26:06 +01:00