Skip to content

demergent-labs/ic-sqlite-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ic-sqlite-plugin

This is an example Azle plugin for the ICSQlite project.

We do not plan on maintaining this plugin, it is meant for demonstration purposes only. If you are interested, please fork and maintain this plugin.

Installation

npm install https://github.com/demergent-labs/ic-sqlite-plugin

Usage

import { $query, $update } from 'azle';
import { ExecuteResult, QueryResult, SQLite } from 'ic-sqlite-plugin';

$update;
export function execute(sql: string): ExecuteResult {
    return SQLite.execute(sql);
}

$query;
export function query(sql: string): QueryResult {
    return SQLite.query(sql);
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published