Comments (9)
How about send a PR and in case @pmjones finds the time he can merge if that is ok :-) .
from aura.sqlquery.
OK I will do that ASAP. I was just checking if you were open to this change.
Thanks.
from aura.sqlquery.
Which syntax is better:
1.
single reset() method handle all cases
query->reset() // -- all, paramter is mixed optional
query->reset('order_by') // -- single factor
query->reset(['order_by', 'cols'] // -- multi-factors
a set of specialized reset methods
query->reset() // -- all, no parameter
query->resetCols() // -- no parameter
query->resetOrderBy()
support both 1 + 2
from aura.sqlquery.
PR #91 .
from aura.sqlquery.
There are now 2 PRs in for this issue: #91 and #94. I will pick one of them, or implement the functionality myself. Thanks for your patience!
from aura.sqlquery.
@golgote @yespire @gauthier @harikt --
I am considering a series of without*()
methods that return a clone of the current query. E.g.:
$newQuery = $oldQuery->withoutWhere()->withoutCols()->withoutOrderBy();
That way the existing query continues to exist, and the new one can be independently modified.
Thoughts?
from aura.sqlquery.
No, on further consideration, we already have some reset*()
methods that can be exposed without BC break. I'll expand on those instead. If the user wants a clone, they can clone.
from aura.sqlquery.
@pmjones FYI in case if you missed the discussion on #91 (comment) .
from aura.sqlquery.
Addressed by #95 et al. Let me know if those do not server your purposes.
from aura.sqlquery.
Related Issues (20)
- Improve IN statement for 3.0 release HOT 8
- Please release 2.8 HOT 2
- Placeholder triples for where() and having() clauses
- New feature: Adding support for bigQuery standard sql HOT 1
- Inline interfaces for WHERE, ORDER BY statements, etc. HOT 3
- Is this project dead? HOT 5
- how can i add concat in select
- To add IGNORE statement to INSERT query library has different interfaces
- Update '->where' method with binding params don't working HOT 2
- # in column name HOT 2
- Is this a coding bug? HOT 2
- Where with parentheses
- What is the future of this project? HOT 2
- Security: SQL injection is possible though table names, column names, etc. HOT 5
- Allow passing query to `union()`
- when updating, add to the existing value in the table HOT 2
- how to execute a query using: USE INDEX? HOT 1
- Named placeholder don't work in where() HOT 1
- New release? HOT 3
- 3.x Stable Release? 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 aura.sqlquery.