Table data handling for Phrag's GraphQL.
Table data handling for Phrag's GraphQL.
(col-key-set table)
Returns a set of column keywords from a table map.
Returns a set of column keywords from a table map.
(db-schema config)
Conditionally retrieves DB schema data from a DB connection and merge table data provided into config if there's any.
Conditionally retrieves DB schema data from a DB connection and merge table data provided into config if there's any.
(is-circular-m2m-fk? table fk-from)
Bridge tables of circular many-to-many have 2 columns linked to the
same table. Example: user_follow
table where following and the followed
are both linked to users
table.
Bridge tables of circular many-to-many have 2 columns linked to the same table. Example: `user_follow` table where following and the followed are both linked to `users` table.
(pk-keys table)
Returns a list of PK keywords from a table map
Returns a list of PK keywords from a table map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close