zend-db icon indicating copy to clipboard operation
zend-db copied to clipboard

Native Firebird driver (without PDO)

Open srayner opened this issue 10 years ago • 3 comments

I would like to see a native Firebird driver like we had in ZF1 that does not rely on PDO.

I have already created a Zend-Db Firebird driver that uses the native ibase_ functions. I can connect to the database, execute queries and return results.

However I need some help/advice on how to deal with Firebird's syntax for FIRST x SKIP y (equivalent to LIMIT x OFFSET y). This goes at the beginning of the SELECT clause, not at the end like MySQL. I think this would impact the Zend\Db\Sql\Select class. Which is a bigger impact that just adding some new driver classes.

I would also appreciate any advice on writing new tests, or using existing zend-db tests.

srayner avatar Sep 15 '15 19:09 srayner

This is work in progress but my fork which includes Firebird driver is here; https://github.com/srayner/zend-db

I need help getting started with testing.

srayner avatar Sep 16 '15 07:09 srayner

A while that this issue this stop I think we should discuss it, what is the opinion of you?

juizmill avatar Nov 01 '16 19:11 juizmill

This repository has been closed and moved to laminas/laminas-db; a new issue has been opened at https://github.com/laminas/laminas-db/issues/140.

michalbundyra avatar Jan 16 '20 19:01 michalbundyra