Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 999 Bytes

06_library.md

File metadata and controls

29 lines (20 loc) · 999 Bytes

Lovefield Specification

6. Library Facilities

6.1 Exceptions

Many of Lovefield's API methods throw exceptions. All the exceptions are modeled as lf.Exception, which is self-documented.

When an exception happens in a running transaction, the transaction will be automatically rolled back and shifted to termination state, just like in all other RDBMS.

All exceptions contains only error code. Users need to check Error code JSON to translate the code to actual meanings. This is done so to minimize distributed binary size.

6.2 Package Management Support

Lovefield is available via NPM and Bower.

6.3 Node.js Support

Lovefield does not support usage in node.js due to lack of IndexedDB. Supporting node.js will be considered in the future if there were high demands.