It is however possible to use any other convention – plural table
names, primary key including the table name and so on. You just need
to create an object implementing the NotORM_Structure interface or use
a NotORM_Structure_Convention object with custom parameters:
$structure = new NotORM_Structure_Convention(
$primary = "id_%s", // id_$table
$foreign = "id_%s", // id_$table
$table = "%ss", // {$table}s
$prefix = "wp_" // wp_$table
);
$software = new NotORM($pdo, $structure);
uma dúvida aos ninjas de plantão, o correto não seria a tabela no plural ?
_______________________________________________
[email protected]
http://www.codeigniter.com.br
http://codeigniter.com.br/mailman/listinfo/lista_codeigniter.com.br
---------------------------
Oportunidade de negócio
http://www.franquiasargohost.net
---------------------------