Closed safakocamanoglu closed 1 year ago
There is nested data in the database. Ex: one.two.three
one.two.three
$data = [ 'one.two.three' => 'exValue' ]; setting($data)->save();
When I query this data with the helper function, it returns the second data, but the third subdata does not.
Request: setting('one.two.three'); Response: null
setting('one.two.three');
null
Request Setting::get('one.two.three'); Response: exValue
Setting::get('one.two.three');
exValue
Can you post an edit for the helper function to fetch nested data as in the Helper method? The setting() function is actively used in many parts of the project.
There is nested data in the database. Ex:
one.two.three
When I query this data with the helper function, it returns the second data, but the third subdata does not.
Request:
setting('one.two.three');
Response:null
Request
Setting::get('one.two.three');
Response:exValue
Can you post an edit for the helper function to fetch nested data as in the Helper method? The setting() function is actively used in many parts of the project.