0.0.5 • Published 9 months ago

@crewdle/mist-connector-sqlite v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Crewdle Mist SQLite DB Connector

Introduction

The Crewdle Mist SQLite Connector is designed to efficiently connect your Key-Value Database service with SQLite, a popular embedded database engine. This connector streamlines the process of syncing your Mist database service with SQLite, facilitating easy and reliable data storage without the need for intricate configurations or supplementary software. It's an ideal solution for persistent storage especially when running Mistlets in containerized environments where long-term persistence over restarts is crucial.

Getting Started

Before diving in, ensure you have installed the Crewdle Mist SDK.

Installation

npm install @crewdle/mist-connector-sqlite

Usage

import { getSQLiteDatabaseConnector } from '@crewdle/mist-connector-sqlite';

// Implement the connector with the base folder to store the SQLite file
const connector = getSQLiteDatabaseConnector({
  baseFolder: '[BASE_FOLDER]'
});

// Create a new SDK instance
const sdk = await SDK.getInstance('[VENDOR_ID]', '[ACCESS_TOKEN]', {
  keyValueDatabaseConnector: connector,
});

Need Help?

Reach out to support@crewdle.com or raise an issue in our repository for any assistance.

Join Our Community

For an engaging discussion about your specific use cases or to connect with fellow developers, we invite you to join our Discord community. Follow this link to become a part of our vibrant group: Join us on Discord.

0.0.5

9 months ago

0.0.4

9 months ago