Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @webscaledev/hdb-wrapper with all npm packages installed. Try it out:

require("@sap/hdbext/package.json"); // @sap/hdbext is a peer dependency. var hdbWrapper = require("@webscaledev/hdb-wrapper")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@webscaledev/hdb-wrapper v2.0.0

A couple of utilities to make ExpressJS life easier

HDB Wrapper

A library that wraps the hdb hana database client. It's main features are:

  • Promises
  • Optional SQL wrapper for convenience
  • When using the SQL wrapper instead of plain SQL, there is an almost fully functional MockDb for jest included. Only Commit/Rollback do not work (as far as I know).

Disclaimer

This is mainly used by me and projects I work on. There could be big issues with the implementation or documentation I haven't noticed because I simply don't use it that way.

So use at your own risk and if some feature or documentation is missing/faulty/etc.: PR's are welcome!

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free