![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
mythix-orm
Advanced tools
Mythix ORM aims to replace Sequelize, Prisma, and the few other terrible solutions that the poor destitute Node community has to work with. Mythix ORM has been designed to replace all current ORMs for Node, with a focus on what is lacking in the community, namely good engineering, good documentation, and ease of use.
Mythix ORMs feature set includes:
Mythix ORM is still in its very early stages, and is looking for users! It is stable, and currently has native support for SQLite and PostgreSQL. A mongo driver will be added next, and after that MySQL. If you want to help then drop me a line! All help is welcome.
npm i --save mythix-orm mythix-orm-sqlite
Check out the WIKI for documentation.
Just start creating models!
const { Model, Types } = require('mythix-orm');
const { SQLiteConnection } = require('mythix-orm-sqlite');
class User extends Model {
static fields = {
id: {
type: Types.XID(),
defaultValue: Types.XID.Defaults.XID,
allowNull: false,
primaryKey: true,
},
email: {
type: Types.STRING(128),
allowNull: false,
index: true,
unique: true,
},
firstName: {
type: Types.STRING(64),
allowNull: false,
index: true,
},
lastName: {
type: Types.STRING(64),
allowNull: false,
index: true,
},
};
}
// Entry point
(async function() {
// Define a connection, and "bind" our models to it
let connection = new SQLiteConnection({
models: [
User,
],
});
// Fire up our connection
await connection.start();
// Create our tables needed for our User
// model in SQLite
await connection.createTables([ User ]);
// Now we can store and load a user
let user = new User({
email: 'test@example.com',
firstName: 'Test',
lastName: 'User',
});
// Store user
await user.save();
// Reload user by querying on the
// user's email address
user = await User.where.email.EQ('test@example.com').first();
// Serialize to JSON
console.log('My user: ', JSON.stringify(user, undefined, 2));
// Shutdown our connection
await connection.stop();
})();
npx mythix-cli create 'Test App'
The Mythix
suite of technologies are being developed to give a rock-solid full-stack framework to build web-apps on Node. I got tired of the piecemeal garbage that currently exist in the Node ecosystem for building apps. My end goal is to have Mythix
technologies take the Node community by storm, providing top-notch technologies for developers to create amazing things. Get involved with me, and let's change the world for the better!
FAQs
ORM for Mythix framework
The npm package mythix-orm receives a total of 10 weekly downloads. As such, mythix-orm popularity was classified as not popular.
We found that mythix-orm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.