Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT "Adventure"."id", "Adventure"."name", "hashtag"."id" AS "hashtag.id", "hashtag"."slug" AS "hashtag.slug", "hashtag->AdventureHashtag"."adventureId" AS "hashtag.AdventureHashtag.adventureId", "hashtag->AdventureHashtag"."hashtagId" AS "hashtag.AdventureHashtag.hashtagId", "hashtag->AdventureHashtag"."createdAt" AS "hashtag.AdventureHashtag.createdAt", "hashtag->AdventureHashtag"."updatedAt" AS "hashtag.AdventureHashtag.updatedAt" FROM "Adventures" AS "Adventure" INNER JOIN ( "AdventureHashtags" AS "hashtag->AdventureHashtag" INNER JOIN "Hashtags" AS "hashtag" ON "hashtag"."id" = "hashtag->AdventureHashtag"."hashtagId") ON "Adventure"."id" = "hashtag->AdventureHashtag"."adventureId" AND "hashtag"."slug" = 'quickly';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement