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.

Example of creating a Query manually?

See original GitHub issue

I’m trying to create and execute a Query manually (the query isn’t defined in the .sq file) but not sure what the right way of doing it is. Is there an example?

Query(
            111111111,
            copyOnWriteList(),
            dbManager.driver(),
            "Player.sq",
            "customQuery",
    rawQuery) { cursor ->
        ...
    }

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AlecStrongcommented, Jun 3, 2020

does something like this not work?

ORDER BY CASE
    WHEN :sortField = 'name' THEN name
    WHEN :sortField = 'age' THEN age
    ELSE name END DESC
0reactions
AlecStrongcommented, Jun 3, 2020

if thats not supported we should definitely do that

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a simple select query - Microsoft Support
Step 1: Add data sources · On the Create tab, in the Other group, click Query Design. The Queries group in the Access...
Read more >
Access 2016: Designing a Simple Query - GCF Global
To create a simple one-table query: · Select the Create tab on the Ribbon, and locate the Queries group. · Click the Query...
Read more >
Working with the Microsoft Access Query Designer
Simply put, a query is a way to combine information stored in separate tables to avoid duplication in the tables themselves. For example,...
Read more >
Learn SQL: Create a report manually using SQL queries
#2 SQL Example – Create reporting categories (Cartesian product) ... We now know what is in our tables, and are ready to create...
Read more >
MS Access - Create Queries - Tutorialspoint
Create a Make Table Query. You can use a make-table query to create a new table from data that is stored in other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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