3.0.16 • Published 8 years ago

adonis-lucid v3.0.16

Weekly downloads
81
License
MIT
Repository
github
Last release
8 years ago

AdonisJS Lucid

NB - WORK IN PROGRESS

Gitter Trello Version Build Status Coverage Status Downloads License

:pray: This repository is the official SQL ORM for adonis framework.

Adonis lucid is a database query builder and ORM for Adonis framework. It also has support for database migrations, seeds and factories.

You can learn more about AdonisJS and all of its awesomeness on http://adonisjs.com :evergreen_tree:

Table of Contents

Team Members

Database Supported

Below is the list of databases officially supported by Adonis Lucid.

  • pg
  • sqlite3
  • mysql
  • mysql2
  • mariasql
  • strong-oracle
  • oracle

Getting Started

Lucid is included by default with every new adonis application, but here are the steps, if in case you want to set it up manually.

$ npm i --save adonis-lucid

and then register lucid providers inside the your bootstrap/app.js file.

const providers = [
  'adonis-lucid/providers/DatabaseProvider',
  'adonis-lucid/providers/LucidProvider',
  'adonis-lucid/providers/SchemaProvider',
  'adonis-lucid/providers/MigrationsProvider',
  'adonis-lucid/providers/CommandsProvider',
  'adonis-lucid/providers/FactoryProvider',
  'adonis-lucid/providers/SeederProvider',  
]

setting up aliases inside bootstrap/app.js file.

const aliases = {
  Database: 'Adonis/Src/Database',
  Lucid: 'Adonis/Src/Lucid',
  Schema: 'Adonis/Src/Schema'
  Migrations: 'Adonis/Src/Migrations',
  Factory: 'Adonis/Src/Factory'
}

Official Documentation

Contribution Guidelines

In favor of active development we accept contributions for everyone. You can contribute by submitting a bug, creating pull requests or even improving documentation.

You can find a complete guide to be followed strictly before submitting your pull requests in the Official Documentation.

3.0.16

8 years ago

3.0.15

8 years ago

3.0.14

8 years ago

3.0.13

8 years ago

3.0.12

8 years ago

3.0.11

8 years ago

3.0.10

8 years ago

3.0.9

8 years ago

3.0.8

8 years ago

3.0.7

8 years ago

3.0.6

8 years ago

3.0.5

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.5

9 years ago

2.0.4

9 years ago

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago