Skip to content

stackql/stackqljs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StackQL

GitHub Actions License

stackqljs

StackQL client library for Deno and Node.js that exposes all features StackQL.

Requirements

  • Written in TypeScript
  • Usable in Deno and Node.js (see pgwire for an example of a dual purpose package)
  • No dependencies
  • Works in server mode (as a pg wire protocol server client) as well as local mode where it is a wrapper for the stackql binary for the target platform
  • Exposes methods analagous to pystackql, including:
    • connect - connect to a StackQL server - if in server mode
    • upgrade - if in local mode, upgrade the local stackql binary from the latest release
    • execute - execute a query returns an array of rows (objects)
    • executeStmt - executes a statement and returns a string (like REGISTRY PULL or INSERT ...)
    • executeQueriesAsync - executes a list of queries and returns an array of rows (objects) - queries need to return the same columns/schema

About

StackQL client library for Deno and Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published