时间:2021-07-01 10:21:17 帮助过:3人阅读
=->tableName=((),'M' __get((-> __set(, -> = ->fields[]=
=''=''=(->( .=.','.=':'..','=(,','=(,','='insert into '.->tableName.'('..') values('..')'
->edit(,->
Update(,==''=''=(->( .=.'=:'..','=(,','='update '.->tableName.' set '..' where '.=(( ->fields[]=[ ->Edit(,-> Delete(,=='delete from '.->tableName.' where '.
->Edit(,
实体层:
proM
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
使用:
=->proName='代码'->proDetail='php开发'->Update('proID=:proID',(proID=>1));
http://www.bkjia.com/PHPjc/626674.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/626674.htmlTechArticlePHP实体层基础类 = -tableName= ( ( ),'M' __get( ( - __set( , - = -fields[ ]= ='' ='' = ( - ( .= .',' .=':'. .',' = ( ,',' = ( ,',' ='insert into '. -tableName.'('. .') values(...