예제 #1
0
파일: postgresql.php 프로젝트: taq/torm
<?php

namespace TORM;

Driver::$name = "postgresql";
Driver::$primary_key_behaviour = Driver::PRIMARY_KEY_SEQUENCE;
Driver::$limit_behaviour = Driver::LIMIT_APPEND;
Driver::$current_timestamp = "now()";
Driver::$numeric_column = "numeric";
예제 #2
0
파일: sqlite.php 프로젝트: taq/torm
<?php

namespace TORM;

Driver::$name = "sqlite";
Driver::$primary_key_behaviour = Driver::PRIMARY_KEY_DELETE;
Driver::$limit_behaviour = Driver::LIMIT_APPEND;