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
db:"field_name,noindex,omitmepty"
Currently to mark a field as non indexed or omitempty it's required to use platform specific tags like:
omitempty
type SomeEntity struct { SomeField string `datastore:"some_field,noindex,omitempty"` }
Ideally we should have strongo/db tags that would be translated to desired required by specific adapters (like gaedb).
strongo/db
type SomeEntity struct { SomeField string `db:"some_field,noindex,omitempty"` }
Probably DB adapters should be required to implement some interface to make sure the expected behavior is not being ignored.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently to mark a field as non indexed or
omitempty
it's required to use platform specific tags like:Ideally we should have
strongo/db
tags that would be translated to desired required by specific adapters (like gaedb).Probably DB adapters should be required to implement some interface to make sure the expected behavior is not being ignored.
The text was updated successfully, but these errors were encountered: