Skip to content

Commit

Permalink
Add nestedArray() to database NestedTree trait (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
damsfx authored Nov 23, 2024
1 parent 895d7d2 commit 321e0ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ const NEST_DEPTH = 'my_depth_column';
- `$query->leaves();` - Filters as all final nodes without children.
- `$query->getNested();` - Returns an eager loaded collection of results.
- `$query->listsNested();` - Returns an indented array of key and value columns.
- `$query->nestedArray();` - Returns an nested array of key and values columns.

### Flat result access methods

Expand Down

0 comments on commit 321e0ec

Please sign in to comment.