Skip to main content

Introduction

Learn the fundamentals of the MantaHQ SDK and how it simplifies data management in less than five minutes.

What is the MantaHQ SDK?

The MantaHQ SDK is a developer toolkit that provides a unified, intuitive interface for interacting with your data. Whether your data lives in Manta data tables or an external PostgreSQL database, the SDK allows you to perform complex operations using a single, consistent syntax.

The MantaHQ SDK goes beyond databases, providing a code-first layer for data and notifications to power modern, data-driven applications.

💡Note

Notification capabilities are coming soon.

With the SDK you can currently:

  • Abstract complex queries: Interact with your data using standard JavaScript/TypeScript objects instead of writing raw SQL or managing complex database drivers.
  • Use familiar methods: Execute operations with simple methods like fetchOneRecord(), updateRecords(), and createRecords().
  • Bridge your infrastructure: Seamlessly switch between Manta's managed internal storage and your own external PostgreSQL instances.

The SDK serves as a powerful bridge between your application and your data, designed to accelerate development and reduce boilerplate code.

Key capabilities

  • Unified Syntax: Write code once and run it against different data sources by simply changing a parameter.
  • Friendly Operators: Use intuitive logical operators (like greaterThan, in, and or) that the SDK automatically translates for your target database.

Supported languages

The MantaHQ SDK currently supports the following environments:

  • JavaScript
  • TypeScript