-
Blade模板引擎查看全部
-
三種操作數(shù)據(jù)庫方式查看全部
-
此處有錯(cuò)誤,這里顯示的是user-id-kitty 這個(gè)是通過了user/{id}命令了查看全部
-
開發(fā)環(huán)境的搭建查看全部
-
lts查看全部
-
mark查看全部
-
mark查看全部
-
mark查看全部
-
Laravel查詢構(gòu)造器簡(jiǎn)介查看全部
-
使用Facades進(jìn)行增刪改查 use Illuminate\Support\Facades\DB; //查詢 //$result = DB::select('select * from student');dd($result); //插入//$bool = DB::insert('insert into student(name,age) values(?,?)',['lzy',18]); //更新 //$bool = DB::update('update student set age = ? where name = ?',['23','lzy']); //刪除 //$bool = DB::delete('delete from student where name = ?',['lychee']);查看全部
-
配置文件在config/database.php 具體是.env文件查看全部
-
多條件查詢查看全部
-
$num = DB::table('tableName') ->where('id','>=',13) ->delete();查看全部
-
use DB facade to execute CURD $string = DB::select('select ...'); $bool = DB::insert('insert into ..') $num = DB::update('update ...) $num = DB::delete('delete from')查看全部
-
查詢構(gòu)造器很實(shí)用!查看全部
舉報(bào)
0/150
提交
取消