nur-sery/nur_src/m/pdo/mysql/MysqlConn.php

15 lines
338 B
PHP
Raw Normal View History

2023-12-03 22:10:18 +04:00
<?php
namespace nur\m\pdo\mysql;
use nur\m\IQuery;
use nur\m\IRowIncarnation;
use nur\m\pdo\PdoConn;
class MysqlConn extends PdoConn {
const HAVE_LAST_INSERT_ID = true;
2024-05-31 14:20:20 +04:00
function query($sql=null, ?array $filter=null, ?IRowIncarnation $incarnation=null): IQuery {
2023-12-03 22:10:18 +04:00
return new MysqlQuery($this, $sql, $filter, $incarnation);
}
}