Пример #1
0
 public function __construct($connection)
 {
     parent::__construct($connection, "login_imap");
     $this->setPrimaryKey("user_id");
 }
Пример #2
0
 public function __construct($connection)
 {
     parent::__construct($connection, "login_local");
     $this->selection->select("user.email")->as("username")->leftJoin("user")->on("user.id = login_local.user_id");
     $this->setPrimaryKey("user_id");
 }