资 源 简 介
Yet another PHP framework, simpler than ORM, chain syntax etc.
SoWork PDO:
$pdo->safe_query(get_defined_vars(), "insert into z_test (name, value) values ({&name}, {#value})" );$pdo->safe_query(get_defined_vars(), "safe_replace into z_test (name, value) values ({&name}, {#value})" );$pdo->step_query(get_defined_vars(), "select sql_calc_found_rows *, (step_select Site from site_Config where ID=sem_ClassifyAccount.SiteID) (step_select ID,AccountName from sem_VAccount where ClassifyAccountID=sem_ClassifyAccount.ID) from sem_ClassifyAccount {$where} " );
SoWork PDO even could do more than 2 steps automatic queries(Notice "sem_ClassifyAdgroup.sem_ClassifyAccount_rows.0.SiteID" and the order):
$pdo->step_quer