-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
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
[C-API] - add support for Dictionary::get_keys()
, Dictionary::contains(StringData key)
and Dictionary::find_any(Mixed value)
#6181
Comments
This was referenced Jan 17, 2023
Is it possible to also get |
13 tasks
I don't think I need |
3 tasks
13 tasks
This was referenced Jan 27, 2023
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Kotlin exposes
keys
,containsKey(key: K)
andcontainsValue(value: V)
in itsMap
interface so we need the following functions (or similar) to be added to the C-API:Dictionary::get_keys()
->realm_dictionary_get_keys(const realm_dictionary_t*, size_t* out_size, realm_value_t* out_keys)
Dictionary::contains(StringData key)
->realm_dictionary_contains_key(const realm_dictionary_t*, realm_value_t key)
Dictionary::find_any(Mixed value)
->realm_dictionary_contains_value(const realm_dictionary_t*, realm_value_t value)
The text was updated successfully, but these errors were encountered: