-
Notifications
You must be signed in to change notification settings - Fork 73
Instances without a SQLAlchemy model
Thomas Pollet edited this page Mar 8, 2026
·
5 revisions
- Applies to: Flask-first examples; concepts also matter for broader SAFRS usage
- Best examples:
examples/demo_stateless.py,examples/mini_examples/ex09_stateless.py,examples/mini_examples/ex10_jabase.py - Related pages: RPC, Examples
Use these patterns when you want a SAFRS-style endpoint without a normal SQLAlchemy model behind it.
- stateless SAFRSBase-style objects
JABase
JABase is useful for service-style endpoints and RPC-heavy use cases.
Example:
These patterns are more advanced than the standard SQLAlchemy model workflow. Use the regular SAFRSBase + SQLAlchemy path unless you specifically need stateless behavior.
- Home
- Installation
- Quickstart (Flask)
- Quickstart (FastAPI)
- JSON:API Basics
- Relationships and Includes
- Filtering
- Sorting, Pagination, and Sparse Fieldsets
- Content Types and Errors
- Bulk Requests
- RPC / Custom Methods
- Customization
- Security and Access Control
- Stateless Endpoints / JABase
- Performance
- Examples
- Existing Databases (Legacy)
- PostGIS / GeoAlchemy2
- Docker / Deployment
- Troubleshooting
- Reference: SAFRSBase
- Reference: SAFRSBase Customization