Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CRUD operations in Results view #4458

Merged

Conversation

MinaDoncheva
Copy link
Contributor

@MinaDoncheva MinaDoncheva changed the title Create add/edit/delete options in Show Content view Add CRUD operations in Results view Nov 21, 2024
const updatedData = $scope.selectedRow;
const setClauses = Object.keys(updatedData)
.filter(key => updatedData[key] !== $scope.selectedRowOriginal[key])
.map(key => `"${key}" = '${updatedData[key]}'`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is vulnerable for sql injections

@delchev delchev marked this pull request as ready for review November 28, 2024 11:45
@delchev delchev merged commit d0964ab into eclipse-dirigible:master Nov 28, 2024
8 checks passed
@MinaDoncheva MinaDoncheva deleted the feature/database-edit-option branch November 29, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants