V7 - Bug: GetValues() returns only array of values
See original GitHub issueIn v7 when getValues is called with multiple properties return value is array of values only and not object with key/value pair like in v6.
Example:
const values = getValues(["property1", "property2", "propertyu3"])
V6:
values
would be {property1: "value1", property2: "value2," property3: "value3"}
V7:
values
are ["value1", "value2", "value3"]
I have read Migration Guide and could not find any changes regarding getValues(), also read API documentation where in example it is illustrated that it should return array of objects with key/value pair so I assume it is a bug?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
What does the range method getValues() return and ...
It ALWAYS returns a two dimensional array of values. One dimensional array is [1,2,3]. Two dimensional array is [[ ...
Read more >Using Bind Variables — cx_Oracle 8.3.0 documentation
In order get values back from the database, a bind variable must be created using Cursor.arrayvar() . The first parameter to this method...
Read more >Breaking changes in 7.0 | Elasticsearch Guide [7.17] | Elastic
Purely negative queries (only MUST_NOT clauses) now return a score of 0 rather than 1 . The boundary specified using geohashes in the...
Read more >Arrays — Apache Arrow v10.0.1
Return an Array that is a concatenation of the lists in this array. Note that it's different from values() in that it takes...
Read more >array_values - Manual - PHP
Returns an indexed array of values. Examples ¶. Example #1 array_values() example. <?php $array = ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks @RikkiMasters fixed, please send us a pr next time if you spot thing is incorrect.
thanks, updated.