question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to do a one-off query

See original GitHub issue

Right now you can call watchQuery then stop once you get the data, but that’s not optimal.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jbaxleyiiicommented, Mar 31, 2016
const queryId = this.idCounter.toString();
this.idCounter++;

duh James

Seems easy enough! @johnthepink can probably knock this out tomorrow then because he is 🚀

1reaction
stubailocommented, Mar 31, 2016

What if I’m watching a query, and also want to do a direct query of what will boil down to the same queryId?

Right now, if you do the same query twice, it will have two different query IDs, so this isn’t a problem. I think the efficiency benefits of deduplicating queries and doing ref counts would be pretty minimal in the current architecture.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edit data in a query - Microsoft Support
Add unique index fields from a linked ODBC table · Open the query in Design view. · In the query designer, locate the...
Read more >
25 Amazing Power Query Tips and Tricks - How To Excel
The quickest way is to double left click on the query. This will open the query editor on the selected query. Automatically Add...
Read more >
Using SQL Runner to create queries and Explores | Looker
Using SQL Runner, you can easily navigate the tables in your schema, use an ad hoc Explore from a SQL query, run prewritten...
Read more >
Power Query Append: Quickly combine many queries into 1
The Power Query Append transformation combines multiple queries into a single query - a powerful technique when working with multiple ...
Read more >
Connect to a Custom SQL Query - Tableau Help
You can use the following custom SQL query to append the second table, ... When working with very large data sets, sometimes you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found