Created
January 20, 2020 16:21
-
-
Save fwojciec/ca47ded659210c04fc6bb3a78ed8bd09 to your computer and use it in GitHub Desktop.
gqlserver2: dataloaders20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- name: ListAuthorsByAgentIDs :many | |
SELECT authors.* FROM authors, agents | |
WHERE authors.agent_id = agents.id AND agents.id = ANY($1::bigint[]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment