Wednesday, March 31, 2021

Saving an image or file to MongoDB GridFS using Lua

Install the following packages
$: sudo apt install lua5.3
$: sudo apt install luarocks
$: sudo apt install libbson-dev
$: sudo apt install libmongoc-dev
$: sudo apt install liblua5.3-dev
$: sudo luarocks install lua-mongo

Then save image like below:

No comments:

Rust and WebAssembly quick start guide 2025

Rust and WebAssembly quick start guide 2025 As of December 2025, Rust and WebAssembly is reorganizing. Documentation is currently out of da...