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
Describe the bug I am running below query
alert := dbEntities.Alert{ Acknowledged: false, AcknowledgedTimestamp: nil, AutoAcknowledged: false, Class: alertClass, Count: 1, Level: alertLevel, Message: message, Ref: ref, Timestamp: nil, Type: alertType, RuleId: ruleId, } res, err := r.Table(hConstant.TableAlert).Insert(alert).RunWrite(rethinkHelper.RethinkSession)
There is no error. In the res, it says inserted is 1 but GeneratedKeys slice is empty
res
inserted
1
GeneratedKeys
To Reproduce Steps to reproduce the behavior:
Expected behavior GeneratedKeys should have more than 0 value, specially generated id for inserted record
Screenshots
System info
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I am running below query
There is no error. In the
res
, it saysinserted
is1
butGeneratedKeys
slice is emptyTo Reproduce
Steps to reproduce the behavior:
Expected behavior
GeneratedKeys
should have more than 0 value, specially generated id for inserted recordScreenshots
System info
The text was updated successfully, but these errors were encountered: