@dkaframework/database
TypeScript icon, indicating that this package has built-in type declarations

1.2.5 • Public • Published

@dkaframework/database

GitHub last commit GitHub contributors GitHub pull requests GitHub issues GitHub repo size GitHub version

Features

@dkaframework/database combines other frameworks into a framework and can be used practically to create your project. It consists of:

Simple and convenient API

Sample code:

import {MariaDB} from "@dkaframework/database";

(async() => {
    let db = await new MariaDB({
        host : "127.0.0.1", // Options.HOST.WILDCARD
        port: 3306,
        ... // Optional Config if you change engine type
    });
    
    db.Read(tableName, {
        search : [],
        limit : 1
    }).then(async (resultData) => {
        // the result Read Database
    }).catch(async (error) => {
        // the result if error read data or not exist
    })
})()

Readme

Keywords

none

Package Sidebar

Install

npm i @dkaframework/database

Weekly Downloads

23

Version

1.2.5

License

MIT

Unpacked Size

130 kB

Total Files

66

Last publish

Collaborators

  • yovangga