docs
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
:sig
|
||||
DValue DValue::values() const
|
||||
|
||||
:params
|
||||
return value : a list-shaped DValue containing each iterated child value
|
||||
|
||||
:see
|
||||
0_DValue
|
||||
2_DValue_each
|
||||
2_DValue_push
|
||||
|
||||
:content
|
||||
Copies the values produced by `each()` into a new list-shaped `DValue`.
|
||||
|
||||
```cpp
|
||||
DValue titles = articles.map([](const DValue& row, String) {
|
||||
DValue v; v = row.get_by_path("title").to_string(); return(v);
|
||||
}).values();
|
||||
```
|
||||
Reference in New Issue
Block a user