Support the ongoing development of Laravel.io →

Tiago França

Joined 9 Mar 2023

Statistics

Threads 1
Replies 0
Solutions 0
Articles 0
posted 1 year ago

get only required fields on table

collect(DB::select('DESCRIBE users'))->filter(fn($item) => $item->Null == 'NO');

0 Likes
1 Replies

tiagofrancafernandes has not posted any replies yet

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.