@onfire-network/onset-typescript-mariadb

1.0.3 • Public • Published

OnsetTypescriptMariaDB

Onset MariaDB definitions and api in typescript

Installation

npm install @onfire-network/onset-typescript-mariadb --save

Example

let conn = new MariaDB.Connection("localhost", "myuser", "changeme123", "mydatabase");
conn.query("SELECT * FROM players;", result => {
    while(result.next()){
        Server.broadcast(result.getString("username"));
    }
});
conn.close();

Readme

Keywords

Package Sidebar

Install

npm i @onfire-network/onset-typescript-mariadb

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

14 kB

Total Files

7

Last publish

Collaborators

  • janbebendorf
  • x7airworker