Comments (1)
You are not using it correctly. The select
method should come after all your where clauses. Also, you don't need to pass a string to the where, they should be separate parameters, like this:
$db->where('name', 'eee');
from sparrow.
Related Issues (20)
- PDO Connection from within Flight HOT 1
- Selecting data from multiple tables HOT 1
- Get and set charset from connection string
- Making Sparrow and Package on Packagist HOT 2
- Null in where() HOT 2
- mysql_* functions are depreciated and will be removed in future. HOT 2
- Add better error handling support. HOT 1
- Model class relationship HOT 1
- MySQL Function NOW() HOT 4
- PDO prepare statment HOT 1
- Join fix name conflict HOT 4
- Fix charset HOT 3
- Missing operator != HOT 1
- Question about join HOT 6
- Add parenthesis HOT 2
- Support for REDIS HOT 3
- Expire not used in execute HOT 1
- On duplicate key support? HOT 1
- Execute no have close function
- Group by isn't working
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 sparrow.