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
Linked to #1
val user = UserDoc.createDocSource { it[UserDoc.id] = 1 it[UserDoc.name] = "grafana" it[UserDoc.group] = UserDoc.group.createDocSource { it[UserDoc.group.id] = 5 it[UserDoc.group.name] = "metrics" } } val userId = user[UserDoc.id] val userGroupName = user[UserDoc.group.name]
Which strategy should we use when accessing sub-document fields?
// Should we return `null` or throw an exception if `group` is an optional field and its value is missing? user[UserDoc.group.name]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Linked to #1
Which strategy should we use when accessing sub-document fields?
The text was updated successfully, but these errors were encountered: