Advanced query filters: support for AND and OR operators

Data API

We're excited to announce a major update to our platform! We've added support for GraphQL queries with Boolean filters, which will give users the ability to apply AND and OR operators across filters, including nesting. Check out our docs for more info and examples!

Ex: "items that have 'shirt' and 'cotton' in the name, OR items that are of type 'top' and season 'summer'"

itemsQuery(filter: {
    or: [
        { and: [{ name: { like: "%shirt%" } }, { name: { like: "%cotton%" } }] },
        { and: [{ item_type: { eq: "top" } }, { season: { eq: "summer" } }] }
    ]
} ) { ... }
Patch logo
Cover

Patch Changelog

Jul

12

Python Data Packages

Announcement

Data Packages are code libraries with a live connection to an underlying data source. They provide a powerful interface for querying, access control, versioning, performance optimization and more; over all your data, no matter where it lives. This could be any database or file system.

The Data Package can be installed using a package manager like pip . Then, it's imported like a library dependency into your code, whether that’s a backend service performing machine learning or enrichment tasks, a customer-facing application, or even an external consumer buying access from you directly to build using the package.

A dpm-agent intelligently routes queries submitted by consumers of a Data Package to the appropriate backend source, enforces access policies and applies performance optimizations. 

Today, we're excited to announce support for generated Python packages!

Sign up for early access at www.dpm.sh!

Jul

05

TypeScript / Node.js Data Packages

Announcement

Data Packages are code libraries with a live connection to an underlying data source. They provide a powerful interface for querying, access control, versioning, performance optimization and more; over all your data, no matter where it lives. This could be any database or file system.

The Data Package is imported like a library dependency into your code, whether that’s a backend service performing machine learning or enrichment tasks, a customer-facing application, or even an external consumer buying access from you directly to build using the package.

A dpm-agent intelligently routes queries submitted by consumers of a Data Package to the appropriate backend source, enforces access policies and applies performance optimizations. 

Today, we're excited to announce support for generated Node.js & TypeScript packages!