Feature Request: clear
See original GitHub issueIt would be nice to clear the part of previous node. In knex, there is a clear
method.
const query = knex("Table").select("a","b") // SELECT a, b FROM Table
query.clear("select")
query.select("a") // SELECT a FROM Table
This is a useful feature for reusing parts of queries.
Issue Analytics
- State:
- Created 9 months ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How to say no to product feature requests - Canny Blog
Here's how to say no to feature requests the right way. ... say no to product feature requests. Many companies make it clear...
Read more >Feature Request: Clear All in Search - Roon Labs Community
Search results remain and the search list grows longer with each query. Other apps, BluOS for example have a Clear All button that...
Read more >Feature Request: Clear all alerts from Sites Overview
Occasionally, connectivity interruptions may generate numerous alerts across numerous sites and being able to clear them all conveniently (from the GUI) ...
Read more >Feature Requests: How to Write, Manage and Prioritize them?
Feature requests are best when they're brief, clear, and to the point. Think of it like a short email message: even if you're...
Read more >Feature Request Template: How to Manage Suggestions at ...
In this post, you'll get to download a feature request template ... A good feature request is clear and easy to manage and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s a good example. We need separate
clearSelect()
,clearLimit()
etc. methods instead of aclear(what)
method. For exampleclearSelect()
will change the query builder type. Some clear methods likeclearJoin()
shouldn’t be implemented because of what it would do to the types. Removing a join and keeping a selection from that table will mess up the types (and the query too).I was thinking of something like