0.1.2 • Published 1 year ago

timescale-inserter v0.1.2

Weekly downloads
28
License
-
Repository
github
Last release
1 year ago

Timescale Insert

Takes javascript objects and table names and forces them into a timescale database.

Creates tables if they don't exist, alters tables if columns are missing.

Tries to guess the type of fields in the javascript object - currently supports text,bool,double and arrays of each.

Doesn't support changing the type of an existing column

var timescale_insert = require('timescale-insert');

var options = {
        host: 'host',
        user: 'user',
        password: 'password',
        database: 'database
};

var inserter = new timescale_insert(options);

inserter.insertOne('my_table', time, my_object);
0.1.2

1 year ago

0.1.1

2 years ago

0.1.0

3 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.15

5 years ago

0.0.16

5 years ago

0.0.17

5 years ago

0.0.18

5 years ago

0.0.19

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.14

5 years ago

0.0.9

5 years ago