Builder对象,这样就可以实现fluent api。...Query Builder对象
return $this;
}
从Builder类中where('id', '=', 1)的源码中可看出,重点就是把where()中的变量值按照$...'结构存储,如[['id', '=', '1'], ['name', '=', 'laravel'], ...]。...Builder对象,这样就可以实现fluent api。...'结构存储,如[['id', '=', '1'], ['name', '=', 'laravel'], ...]。