You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I considered if a function like array::flatten(...) would be suitable before making this issue and the outputs will be subtly different.
SELECT array::flatten(name) FROM user WHERE emailValidated = true will not result in a array of string. But instead will result in an array of objects that has a field with the type of string.
Is your feature request related to a problem?
Currently the query
SELECT name FROM userwould result in something like the following.However it would be far easier to deserialize and work with a simple string array.
Describe the solution
An example of this being implemented is with CosmosDB's
FIELDkeywordSELECT VALUE name FROM userAlternative methods
I don't have any other examples of how this could be done
SurrealDB version
1.0.0-beta.8+20220930.c246533
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: