Required Schema collection in your DBRequired Schema collection in your DB
Peliqan uses Trino to connect to MongoDB and to execute SQL queries on MongoDB. A_schema collection must be present in each database, which defines the schema.
Example record in _schema:
_schema in each DB. This script will perform introspection on the first 100 records of each collection to generate a _schema record:
Click here to expand script
Click here to expand script
