Last execution statement

After a model executes a statement, it will save the executed statement to $model - > lastquery():

<?php
$model = new AdminModel();
//Execute all query
var_dump($model->all());
//Print last executed`EasySwoole\Mysqli\QueryBuilder` object
var_dump($model->lastQuery());
//Print the last executed SQL statement
var_dump($model->lastQuery()->getLastQuery());

$model->lastQuery() Query object is returned, and specific documents can be viewed:Query Builder 文档