We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
public saveEdit(): void { this._postgrestService.doPatch(this.currentUrl + this.table + "?id=eq." + this.tableRowToEdit['id'], this.tableRowToEdit) .catch(error => console.log(error)) .then(res => this.cancelEdit()) }
Also the delete function
public deleteRow(row: any) { var t = this; this._postgrestService.doDelete(this.currentUrl + this.table + "?id=eq." + row['id']) .catch(error => console.log(error)) .then(v => t.refreshTable() ) }
This function can be changed to filter the edit by the primary key of the table. I can make a PR, just tell me if you can merge it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Also the delete function
This function can be changed to filter the edit by the primary key of the table.
I can make a PR, just tell me if you can merge it?
The text was updated successfully, but these errors were encountered: