🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

lambdaorm-cli

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambdaorm-cli

The lambdaorm command line interface

0.1.27-alpha
Source
npm
Version published
Weekly downloads
452
143.01%
Maintainers
1
Weekly downloads
 
Created
Source

Lambda ORM

IMPORTANT: the library is in an Alpha version!!!

Installation

Install the package globally to use the CLI commands to help you create and maintain projects

npm install lambdaorm-cli -g

CLI

CommandDescription
versionPrints lambdaorm version this project uses.more info
initGenerates lambdaorm project structure.more info
updateupdate model, packages and project structure.more info
syncSyncronize database.more info
executeExecute an expression lambda or return informationmore info
exportExport data from a databasemore info
importImport data from file to databasemore info
dropRemoves all database objects but not the database.more info

Documentation

Labs

Lab 01

In this laboratory we will see:

  • How to use the Lambdaorm-cli commands
  • how to create a project that uses lambda ORM
  • How to define a schema
  • how to run a bulckInsert from a file
  • how to export data from a schema
  • how to import data into a schema from a previously generated export file

source code

Lab 02

In this laboratory we will see:

  • how to create a project that uses lambda ORM
  • How to define a schema
  • how to extend entities using abstract entities
  • How to insert data from a file.
  • how to run queries from cli to perform different types of queries

source code

Lab 03

In this laboratory we will see:

  • How to insert data from a file to more than one table.
  • how to extend entities using abstract entities
  • how to extend a schema to create a new one, overwriting the mapping
  • how to work with two schemas and databases that share the same model
  • how to use imported data from one database to import it into another

source code

Lab 04

In this laboratory we will see:

  • How to insert data from a file to more than one table.
  • how to extend entities using abstract entities
  • how to define a schema that works with entities in different databases
  • how to run a bulkinsert on entities in different databases
  • how to export and import entity data in different databases

source code

Keywords

cli

FAQs

Package last updated on 04 Apr 2022

Did you know?

Socket

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.

Install

Related posts