Created
January 17, 2015 13:02
-
-
Save syossan27/67aa9903e7e3bf9ba3fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DB::table('hoge')->where('id', '=', 1) | |
->where( function( $query ) use( $name ) { | |
$query->where('name', '=', $name); | |
}) | |
->get(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment