sqlite3-pb-ext-gen
v1.0.28
Published
Sqlite3 Protobuf extension generator
Maintainers
Readme
sqlite3-pb-ext-gen
SQLite3 Protobuf extension generator
The Node.js program generates the source code in C/C++ from the *.proto files to be used in the database. After the build, an extension that can be loaded into the database manager is created. Then, the protobuf data stored in binary can be read using the pb_extract function and the pb_field and pb_each virtual tables. It is designed to be efficient and fast, as it avoids using the descriptor and reflection APIs . This extension builds directly on the C++ code generated with 'protoc'.
Table of Contents
- Platform Support
- Installation
- Extension source code generation
- Making an extension
- SQL Function and Virtual Tables
- SQL example
- Performance
- Conclusion
0. Platform Support
Linux x86_64
This project has been exclusively tested on Linux operating systems. We do not guarantee its functionality on other operating systems.
1. Installation
npm i -g sqlite3-pb-ext-genCheck protobuf-compiler dependency:
protoc --version
