Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better way to query with many compound ids #569

Merged
merged 1 commit into from Mar 11, 2020
Merged

Commits on Mar 11, 2020

  1. Better way to query with many compound ids

    Instead of doing
    
    ```sql
    (id1 = 1 AND id2 = 2) OR (id1 = 3 AND id2 = 4)
    ```
    
    we do
    
    ```sql
    (id1, id2) IN ((1, 2), (3, 4))
    ```
    
    and for SQLite
    
    ```sql
    (id1, id2) IN (VALUES (1, 2), (3, 4))
    ```
    Julius de Bruijn committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    a863d3b View commit details
    Browse the repository at this point in the history