title: How to connect GraphQL and PostgreSQL
body: <p>GraphQL has mutations, Postgres has INSERT; GraphQL has queries, Postgres has SELECT's; etc., etc.. I haven't found an example showing how you could use both in a project, for example passing all the queries from front end (React, Relay) in GraphQL, but to a actually store the data in Postgres. </p>
  
  <p>Does anyone know what Facebook is using as DB and how it's connected with GraphQL? </p>
  
  <p>Is the only option of storing data in Postgres right now to build custom "adapters" that take the GraphQL query and convert it into SQL?</p>