outerbase / sdk

Typescript ORM and automated model generation direct from your database schema. Supports Outerbase features for saved queries & AI.
https://outerbase.com
MIT License
12 stars 5 forks source link

Add Mongo DB Support #52

Closed caleb-mabry closed 1 month ago

caleb-mabry commented 1 month ago

Purpose

This pull request is to add support for MongoDB. MongoDB support is considered a wrapper around the official MongoDB SDK because there is no language parsing like SQL offers. To support this, we dynamically build the function in a safe way so that people cannot run whatever they want when passing in a raw query.

Tasks