Created
January 20, 2020 16:13
-
-
Save fwojciec/27de6f7eccd68c5b602dc3d7929589c6 to your computer and use it in GitHub Desktop.
gqlserver2: dataloaders12
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: ListAgentsByAuthorIDs :many | |
SELECT agents.*, authors.id AS author_id FROM agents, authors | |
WHERE agents.id = authors.agent_id AND authors.id = ANY($1::bigint[]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment