Skip to content

A recreation of Laravel's eloquent ORM, in JavaScript.

Notifications You must be signed in to change notification settings

ryanennns/eloquent-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eloquent-db

eloquent-db is a simple and lightweight query builder for JavaScript, based on the syntax of Laravel's Eloquent ORM.

One can build a query like so:

import { Builder } from 'eloquent-db';

const builder = new Builder();

const users = builder.table('chocoate')
    .select('name', 'calories', 'sugar_content')
    .where('calories', '>', '150')
    .orderBy('name', 'asc')
    .limit(3)
    .get();

About

A recreation of Laravel's eloquent ORM, in JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published