# mickhansen/graphql-sequelize

GraphQL & Relay for MySQL & Postgres via Sequelize

Repository: https://github.com/mickhansen/graphql-sequelize
Canonical: https://ross.abutalabs.com/products/graphql-sequelize
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-11-16T09:28:09+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4139, "days_push": 1386, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1884, forks 159 (observed 2026-08-28T04:05:48.916565+00:00)

## What it is
A JavaScript library providing GraphQL resolver helpers and Relay connection support for Sequelize ORM models on MySQL and Postgres. It automatically maps GraphQL arguments to Sequelize queries and pairs with dataloader-sequelize to avoid N+1 queries.

## Use cases
- expose sequelize models as a graphql api
- build relay connections over sql database
- avoid n+1 queries in graphql resolvers
- auto-convert graphql args to sequelize where clauses
- add pagination and ordering to graphql queries
- generate graphql resolvers for mysql and postgres

## When to avoid
- you use an ORM other than Sequelize
- you need a full GraphQL schema generator rather than resolver helpers
- you need actively developed tooling with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: graphql, orm, api-framework, middleware
- domain: web-development, backend, apis, databases
- platform: -
- tags: graphql-sequelize, relay, dataloader, mysql, postgres, resolvers, nodejs, javascript

## Member repositories
- mickhansen/graphql-sequelize (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:48.916565+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:13:39.383992+00:00, confidence not recorded.
  - readme: https://github.com/mickhansen/graphql-sequelize (fetched 2026-08-28T04:05:48.916565+00:00, sha 74f1edf3714d)
  - registry_npm: https://registry.npmjs.org/graphql-sequelize (fetched 2026-08-29T10:53:03.973596+00:00, sha e8a710c16e19)
- Data as of 2026-08-30T08:39:29.467469+00:00.
