Access data sources from your code blocks.
Applications often need to read from and write to a data store. There are two distinct use cases:
- 1.You have an existing data store that you want to read from or write to within your worklet
- 2.Your application needs a new data model to be created and for Code blocks to write to and read from it
Baseten allows you to connect to existing data stores (e.g. MySQL, PostgreSQL, BigQuery, Snowflake, Redis) and makes it easy to access them in your Code blocks. Additionally, Baseten allows you to define your own custom data model and access it for reads and writes using your choice of SQLAlchemy within your Code blocks or direct SQL — all without having to manage the database yourself.