Pop\Db\Adapter\Mysqli::prepare PHP Méthode

prepare() public méthode

Prepare a SQL query.
public prepare ( string $sql ) : Mysqli
$sql string
Résultat Mysqli
    public function prepare($sql)
    {
        $this->statement = $this->connection->stmt_init();
        $this->statement->prepare($sql);
        return $this;
    }