LoRaWAN-Signal-Mapping/server/Repos.SQLite/ReadingRepo.mjs

19 lines
314 B
JavaScript

"use strict";
import { get_instance } from '../Helpers/Database.mjs';
class ReadingRepo {
constructor(in_RSSIRepo) {
this.db = get_instance();
this.RSSIRepo = in_RSSIRepo;
this.insert_query = this.db.prepare("INSERT INTO readings")
}
insert(reading) {
this.db.
}
}
export default ReadingRepo;