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
Bug during POST (create) error: { "originalError": {}, "_e": {}, "rawStack": ": ORA-00904: "id": invalid identifier\n", "details": "Details: Error: ORA-00904: "id": invalid identifier\n\n", "message": "[Error (E_UNKNOWN) Encountered an unexpected error] Details: Error: ORA-00904: "id": invalid identifier\n\n", "stack": "Error (E_UNKNOWN) :: Encountered an unexpected error\n: ORA-00904: "id": invalid identifier\n" }
The text was updated successfully, but these errors were encountered:
The issue is almost fixed with the following:
var selectQuery = 'select * from "'+table+'" order by "' + _getPK(connectionName, table) +'" desc';
However it returns the last record by rownum which is not always the last inserted.
The fix allows to insert but return wrong result. It's better to use where clause in the select insted of order by desc.
var selectQuery = 'select * from "'+table+'" where '+colName+'=\''+data[colValue]+'\'';
Sorry, something went wrong.
No branches or pull requests
Bug during POST (create)
error:
{
"originalError": {},
"_e": {},
"rawStack": ": ORA-00904: "id": invalid identifier\n",
"details": "Details: Error: ORA-00904: "id": invalid identifier\n\n",
"message": "[Error (E_UNKNOWN) Encountered an unexpected error] Details: Error: ORA-00904: "id": invalid identifier\n\n",
"stack": "Error (E_UNKNOWN) :: Encountered an unexpected error\n: ORA-00904: "id": invalid identifier\n"
}
The text was updated successfully, but these errors were encountered: