Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wdis/db

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdis/db

@wdis/db

  • 1.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

wdis-db npm version NPM Downloads

Supported features

DB\FeatureSelectInsertDeleteUpdateCreateDropNativeMeta Model
SQlite
MySql
MariaDB
PostegreSql
Oracle⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
MS SQL⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
CSV⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
JSON⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
XML⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
Property⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
Table legend
✅ Working - 🔜 In progress - ⚠️ Project Intention

Install

npm install @wdis/db

Or

yarn install @wdis/db

Example

// const { WdisDb } = require('@wdis/db');
import { ConfResource, WdisDb } from "@wdis/db";

const confResource: ConfResource = {
    resource: 'sqlite3',
    url: 'C:\\enviroment\\tmp\\wdis\\db\\sqlite3.db'
};

const wdisDb = new WdisDb(confResource);

let promiseList = wdisDb
    .model('user')
    .select('id','name','email')
    .list();

promiseList.then((userLst:any[]/*OR Type User[]*/)=>{
    console.log(JSON.stringify(userLst));
});

Other Examples

Contributing

Pull requests are welcome! If you see something you'd like to add, please do. For drastic changes, please open an issue first.

Keywords

FAQs

Package last updated on 13 Jun 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc