* [misc,0.5h] add buildStep.

This commit is contained in:
qixinzhi
2024-09-06 09:06:59 +08:00
committed by 曹延义
parent 166e207b86
commit 1f8fe00e6d
+20
View File
@@ -458,4 +458,24 @@ class sqlBuilder extends wg
list($steps, $currStep) = $this->prop(array('steps', 'currStep'));
if(empty($currStep)) $this->setProp('currStep', reset($steps));
}
protected function buildTableStep()
{
return $this->buildStepContent('table');
}
protected function buildFieldStep()
{
return $this->buildStepContent('field');
}
protected function buildFuncStep()
{
return $this->buildStepContent('func');
}
protected function buildWhereStep()
{
return $this->buildStepContent('where');
}
}