Skip to content

abiacarl/just-nada.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

just-nada.js

The script that does absolutely nothing. Document and design your database in javascript.

  • Create.
  • Do nothing.
  • Repeat.

That's it!

Structure

export  class  MyClass  extends  Base {
	model = 'My';
	columns = {};
	relationships = {};
}

Example

export  class  UserClass  extends  Base {
	model = 'User';

	columns = {
		id: 'integer',
		name: 'string'
	};

	relationships = {
		roles: this.belongsToMany(RoleClass)
	};
}

Contributing

If you see areas for improvement, please open an issue or submit a PR or just do nothing.

License

Licensed under the MIT license.

About

The script that does absolutely nothing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published