Overview
Comment:Ajout méthode openBlob
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 2b37df9aad5fe05071d24af9825c77d9ff520e52
User & Date: bohwaz on 2017-05-17 07:07:59
Other Links: branch diff | manifest | tags
Context
2017-05-17
07:08
Modernisation objet fichiers check-in: 18ca9332f5 user: bohwaz tags: dev
07:07
Ajout méthode openBlob check-in: 2b37df9aad user: bohwaz tags: dev
06:35
Modernisation page "mes cotisations" check-in: e8680f70ea user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/DB.php from [d7e2b85339] to [fec2e78e68].

412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
    }

    /**
     * Exécute une requête SQL (alias pour query)
     * @param  string $query Requête SQL
     * @return boolean
     *
     * Accepte un ou plusieurs arguments supplémentaires utilisés comme bindings.
     */
    public function exec($query)
    {
        return $this->db->exec($query);
    }

    /**







|







412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
    }

    /**
     * Exécute une requête SQL (alias pour query)
     * @param  string $query Requête SQL
     * @return boolean
     *
     * N'accepte PAS d'arguments supplémentaires
     */
    public function exec($query)
    {
        return $this->db->exec($query);
    }

    /**
581
582
583
584
585
586
587





588
589
590
591
592
593
594
     * @param  string $query Requête SQL
     * @return \SQLite3Statement
     */
    public function prepare($query)
    {
        return $this->db->prepare($query);
    }






    /**
     * @deprecated
     */
    public function simpleInsert($table, Array $fields)
    {
        return $this->insert($table, $fields);







>
>
>
>
>







581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
     * @param  string $query Requête SQL
     * @return \SQLite3Statement
     */
    public function prepare($query)
    {
        return $this->db->prepare($query);
    }

    public function openBlob($table, $column, $rowid)
    {
        return $this->db->openBlob($table, $column, $rowid);
    }

    /**
     * @deprecated
     */
    public function simpleInsert($table, Array $fields)
    {
        return $this->insert($table, $fields);