Title / Description
Code # create Tito $user = User::create(array('name' => 'Tito', 'state' => 'VA')); # read Tito $user = User::find_by_name('Tito'); # update Tito $user->name = 'Tito Jr'; $user->save(); # delete Tito $user->delete();
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code