Comments (6)
Might be something to look into for V2. 👍
from pdo.
I maybe able to contribute one here soon.
from pdo.
Ok, now that 2.x stuff is just about done, I am going to shoot for this around version 3.x. @johnlackey If its still a desire, you can extend v2 to override the __toString()
rendering. You will need to extend the database class as well if you want to use it as a factory.
from pdo.
@johnlackey Do you know what the support for TOP limit is in sql server? I seem to remember there being a syntax change in 2012. The old code I was using looked something like OFFSET {$this->offset} ROWS FETCH NEXT {$this->number} ROWS ONLY
but I think that was only for 2012 and later.
from pdo.
TOP is supported for 2005 and above
from pdo.
@johnlackey https://github.com/kwhat/PDO-SqlSrv Give this a go. It will only work with what I will be pushing to the 2.1 branch.
from pdo.
Related Issues (20)
- Email and domain not working? HOT 1
- MD5 of column value in where clause HOT 1
- Error when setting charset HOT 1
- Join not working properly HOT 4
- Uncaught TypeError: Argument 1 passed to FaaPz\PDO\DatabaseException::__construct() must be of the type string, null given HOT 15
- Use MySQL function and column as conditional value HOT 6
- Invalid value for insert statement when trying to insert NULL HOT 4
- Insert execute no longer return new id HOT 1
- How to use Clasule RAW HOT 2
- Creating the WHERE clause HOT 1
- Inserts are duplicated HOT 1
- Error in docs of update HOT 1
- Insert Many Table HOT 1
- Help needed on insert statement HOT 14
- Update about text "Just another PDO database library" HOT 1
- lastinsertid removed? HOT 2
- README not up to date HOT 4
- orderBy is not rendered when optional direction is omitted HOT 2
- Limit is treated as a string HOT 7
- Between condition with parentheses lead to strange state HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdo.