Skip to main content
Feathers provides a powerful adapter system that allows you to connect your services to different databases using a consistent API. All adapters share common patterns and querying capabilities while supporting database-specific features.

Available Adapters

Feathers supports multiple database adapters out of the box:

MongoDB

Native MongoDB adapter for document-based storage

Knex (SQL)

SQL adapter supporting PostgreSQL, MySQL, SQLite, and more

Memory

In-memory storage for testing and prototyping

Common Features

All Feathers database adapters share these core capabilities:

Standard Service Methods

Every adapter implements the standard Feathers service interface:

Query Syntax

All adapters support a common query syntax for filtering, sorting, and pagination:

Supported Query Operators

Pagination

Enable pagination in your service options:
Paginated responses include:

Adapter Options

All adapters support these common options:

Multi Operations

By default, patch and remove without an ID will throw an error. Enable multi operations:

Internal Methods

Adapters provide internal _method versions that bypass hooks and validation:
Internal methods should only be used within hooks or when you need to bypass the normal service flow. They don’t run hooks or emit events.

Type Safety

All adapters support full TypeScript typing:

Next Steps

MongoDB Adapter

Learn how to use the MongoDB adapter

Knex Adapter

Connect to SQL databases with Knex

Common Patterns

Explore adapter patterns and best practices