Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Mario tsai
Mario tsai

Aug 16, 2021

·
1 min read

php Laravel Basic ORM #3

ORM

make a model

php artisan make:model ModelNamecomposer dump-autoload

And Start test

php artisan tinker
>>> ModelName::all()
>>> ModelName::where('id','>',3)->get()

--

--

More from Mario tsai

Major in physical education. Football referee. And high interest in looking the world through the numbers.

Love podcasts or audiobooks? Learn on the go with our new app.

Try Knowable

Recommended from Medium

梁洁馀

梁洁馀

Can We Guess That Developers Who Are More Active On StackOverflow Earn More?

Antonel Ernest Pazargic

Antonel Ernest Pazargic

Suggestion: Considering that you will surely write some other kotlin articles related to different…

Amanda McNay

Amanda McNay

Squarespace 7.1 Footer CSS

Perfomatix

Perfomatix

An introduction to Edge Computing | Perfomatix | Product Engineering Services Company

The PukkaTeam Staff

The PukkaTeam Staff

in

PukkaTeam

PukkaTeam, this is your life (and launch!)

Ryan DiBartolomeo

Ryan DiBartolomeo

How to Adjust your Mouse Polling Rate on Raspberry Pi OS

MSicc

MSicc

#XfEffects: Forms Effect to automatically scale FontSize on Label

Abhishek Gupta - AceTheCloud

Abhishek Gupta - AceTheCloud

Azure Event Grid -An eventing backplane that enables event-driven, reactive programming

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mario tsai

Mario tsai

Major in physical education. Football referee. And high interest in looking the world through the numbers.

More from Medium

Warrick Bayman

Warrick Bayman

Laravel model presenters with the Reflection API

Reflection
David Ciulla

David Ciulla

Laravel Actions: A Developers Best Friend

Italo Baeza Cabrera

Italo Baeza Cabrera

Laravel: Authorization done right

Ngo Dinh Cuong

Ngo Dinh Cuong

Deep dive into Laravel Pagination — PHP IteratorAggregate

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable