Pluck Dot Notation #42480
Unanswered
YaakovDantas
asked this question in
Q&A
Pluck Dot Notation
#42480
Replies: 1 comment
-
I already find out the solution just past the name as an array
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to make it a better way to change pluck dot notation for another delimiter?
If I have this collection:
It will return: [null, null]
Already exists something to avoid that?
And get the expected values? ['0001', '0002'] ?
If is not possible do something like that with pluck, Could we change something?
My first thought was to create a new config file something like
config/collections.php
Inside we could set the delimiter for nested dot notation like:
With something like that the method
Beta Was this translation helpful? Give feedback.
All reactions