https://andrewbaisden.medium.com/how-to-use-harperdb-custom-functions-to-build-your-entire-backend-20c1a24fed26