Midnight (formerly known as Flyweight) is an ORM for SQLite and NodeJS.
Midnight combines a very simple API for performing basic operations, with the ability to create SQL queries that are parsed by the ORM.
Tables are created the same way as they are in SQL. The native types available in strict mode are integer, real, text, blob, and any. In addition to these types, four additional types are included by default: boolean, date, and json.
Object–relational mapping (ORM) is a programming technique for converting data between incompatible type systems using object-oriented programming languages. This creates, in effect, a “virtual object database” that can be used from within the programming language.
In essence, ORM is a design pattern for converting (wrapping) that data stored within a relational database into an object that can be used within an object oriented language. It creates a layer between the language and the database, helping programmers work with data without the OOP paradigm.
This is free and open source software.
Website: github.com/andrewitsover/midnight
Support:
Developer: Andrew Jones
License: MIT License
Midnight is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Related Software
| JavaScript Object-Relational Mapping Software | |
|---|---|
| Sequelize | Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and more |
| Objection.js | ORM for Node.js that aims to stay out of your way |
| Bookshelf | ORM for Node.js, built on the Knex SQL query builder |
| Waterline | Adapter-based ORM for Node.js |
| Flyweight | ORM for SQLite |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

