# Lucid

SQL query builder, Active Record ORM and migrations library for AdonisJS applications.


Source: https://findsoftware.frbit.cloud/adonis-lucid/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://lucid.adonisjs.com/
- repository: https://github.com/adonisjs/lucid
- docs: https://lucid.adonisjs.com/docs/introduction

### Identity

- status: active
- maintainer: Harminder Virk
- maintainerType: unknown
- parent: unknown
- firstRelease: 2016
- hqCountry: unknown

### Kind

- category: library
- hosting: node
- language: javascript
- runtime: node
- runtimeMin: node 24
- basedOn: adonisjs

### Content

- contentStore: not applicable
- databases: postgres, mysql, sqlite, sqlserver
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm (npm i @adonisjs/lucid)

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 22
- latestReleaseDate: 2026-04-05

### Adoption

- githubStargazers: 1231
- packagistDownloads: not applicable
- npmWeeklyDownloads: 226649
- contributors: 86
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://lucid.adonisjs.com/docs/introduction (read 2026-11-04)
- urls: https://api.github.com/repos/adonisjs/lucid (read 2026-11-04)
- urls: https://github.com/adonisjs/lucid/blob/22.x/README.md (read 2026-11-04)
- maintainer: https://github.com/adonisjs/lucid/blob/22.x/LICENSE.md (read 2026-11-04)
- language: https://api.github.com/repos/adonisjs/lucid (read 2026-11-04)
- runtime: https://github.com/adonisjs/lucid/blob/v22.4.2/package.json (read 2026-11-04)
- runtimeMin: https://github.com/adonisjs/lucid/blob/v22.4.2/package.json (read 2026-11-04)
- basedOn: https://github.com/adonisjs/lucid/blob/22.x/README.md (read 2026-11-04)
- category: https://github.com/adonisjs/lucid/blob/22.x/README.md (read 2026-11-04)
- databases: https://lucid.adonisjs.com/docs/introduction (read 2026-11-04)
- installMethod: https://lucid.adonisjs.com/docs/installation (read 2026-11-04)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-10-26:2026-11-01/@adonisjs/lucid (read 2026-11-04)
- license: https://github.com/adonisjs/lucid/blob/22.x/README.md (read 2026-11-04)
- licenseModel: https://github.com/adonisjs/lucid/blob/22.x/LICENSE.md (read 2026-11-04)
- currentMajor: https://github.com/adonisjs/lucid/releases/tag/v22.4.2 (read 2026-11-04)
- latestReleaseDate: https://api.github.com/repos/adonisjs/lucid/releases/latest (read 2026-11-04)
- firstRelease: https://api.github.com/repos/adonisjs/lucid/tags (read 2026-11-04)
- githubStargazers: https://api.github.com/repos/adonisjs/lucid (read 2026-11-04)
- contributors: https://api.github.com/repos/adonisjs/lucid/contributors (read 2026-11-04)

## Notes

Lucid is the SQL library for AdonisJS. It combines a Knex-based query builder with class-based Active Record models, hand-written migrations, and schema classes that Lucid generates from the live database. Models extend the generated schema classes, so column types are not declared twice. The package is installed into an AdonisJS application from npm, and the [documentation](https://lucid.adonisjs.com/docs/introduction) covers the rest.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
