api_rest_flutter_web 1.0.0
api_rest_flutter_web: ^1.0.0 copied to clipboard
Flutter package for managing data operations with cloud backends. Provides a unified API layer for CRUD operations, data validation, schema management, and query building. Web-only support.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2024-11-26 #
Added #
- Initial release with web-only support
ApiRestsingleton class for core data operationsleeById(): Read single record by queryactualizar(): Update existing records with change trackingguardar(): Save new recordsobtener(): Query multiple records with paginationobtieneEsquema(): Fetch collection schemascambiaEstado(): Update record state
UtilsDataApiRestutility class for data processingobtenerData(): Retrieve and format data from collectionsvalidaDataInMap(): Schema-based validationagregaDynamicValueInMap(): Foreign key resolutiontokenizaConcatenacion(): MongoDB aggregation pipeline builder
- Schema-driven validation with regex and type checking
- MongoDB query syntax support (
$and,$or,$regex) - Automatic change tracking (sends only modified fields)
- Backend function execution during save/update operations