A Clojure(script) SQL library for building APIs: Datomic® (GraphQL-ish) pull syntax, data driven configuration, dynamic filtering with relations in mind
["SELECT ("friend"."_id") AS "friend/_id", ("friend"."name") AS "friend/name" FROM "friend" WHERE (("friend"."_id")=(?))" "26289c88-efb7-4834-9774-b0666950884a"]
["SELECT ("pet"."name") AS "pet/name", ("pet"."friend") AS "pet/friend" FROM "pet" JOIN "friend" ON "pet"."friend" = "friend"."_id" WHERE (("pet"."friend")=(26289c88-efb7-4834-9774-b0666950884a))"]
if
_id
is not a integer/long,the join statement will failed.
query
generated sql
floor-plan