7 个仓库
Mechanisms for triggering logic during database model events.
Distinguishing note: Focuses on automated timestamping and lifecycle event tracking.
Explore 7 awesome GitHub repositories matching data & databases · Model Lifecycle Hooks. Refine with filters or upvote what's useful.
Vapor is a comprehensive server-side web framework designed for building scalable, high-performance applications and APIs in Swift. It provides a non-blocking, event-loop-based runtime that manages concurrent task processing, background job queues, and asynchronous request handling. The framework is built around a dependency injection container that manages the lifecycle and resolution of services, configurations, and database connections throughout the request pipeline. The framework distinguishes itself through a protocol-oriented design that emphasizes type safety across all layers of the
Automatically tracks model changes via lifecycle timestamps.
Prefect is a workflow orchestration platform designed to define, schedule, and monitor complex data pipelines as Python code. It functions as a container-native engine that wraps individual tasks in isolated environments, ensuring consistent dependencies and resource allocation across diverse infrastructure. By utilizing a state-machine-based orchestration model, the system tracks execution progress through discrete transitions and persistent event logs to maintain reliable and observable task processing. The platform distinguishes itself through a decoupled worker-API architecture, which sep
Triggers custom logic at specific points during transformation runs to enable lifecycle-aware pipeline execution.
sqlboiler is a database-first ORM generator for Go that analyzes an existing database schema to produce strongly typed structures and query helpers. It functions as a schema-driven code generator, transforming database tables and relationships into executable Go source code. The project distinguishes itself through a type-safe query builder that uses chainable modifiers to construct SQL statements, eliminating the need for raw string concatenation. It utilizes customizable text templates to generate source code, allowing for the aliasing of schema entities and the creation of custom templates
Provides mechanisms for triggering custom logic during specific database model events like insert or update.
This is a Ruby toolkit for converting addresses to geographic coordinates and performing reverse geocoding via multiple external API providers. It provides a library for integrating location services into Ruby applications, including an IP geolocation tool to translate IP addresses into coordinates, city names, and country data. The project includes a command line interface for bulk geocoding of database records with integrated rate limiting and a geospatial query engine for calculating distances and performing radius or bounding box searches. It also features a mocking framework that provide
Provides automatic geocoding and persistence of coordinates into database models after validation.
Sequel is a relational database toolkit for Ruby that provides object-relational mapping, a fluent SQL query builder, and schema migration capabilities. It maps database tables to Ruby classes with support for associations, validations, lifecycle hooks, and eager loading, offering a comprehensive ORM layer for building data-centric applications. Sequel distinguishes itself through a plugin-based extension architecture that allows composable customization of models, databases, and datasets without relying on deep inheritance hierarchies. It includes a thread-safe connection pool with support f
Sequel attaches hooks and saving options such as timestamps, optimistic locking, and conflict handling to model instances.
Goravel 是一个功能齐全的开发脚手架和框架,用于使用 Go 编程语言构建 Web 应用、REST API 和 gRPC 服务。它实现了模型-视图-控制器(MVC)架构,并为高性能远程过程调用服务器和客户端提供了全面的工具包。 该框架的独特之处在于其广泛的集成生态系统,包括用于数据库管理的流畅对象关系映射器(ORM),以及用于管理自动化和项目脚手架的专用命令行界面工具包。它具有基于驱动的服务抽象,允许开发者在不更改应用逻辑的情况下切换存储、缓存和会话后端。 该平台涵盖了广泛的应用功能,包括带有分布式队列的异步任务处理、通过基于令牌的身份验证进行的安全身份管理,以及具有加密和访问控制的稳健安全层。它还提供内容本地化、模板渲染以及带有依赖模拟的自动化测试基础设施工具。
Triggers custom business logic during specific model lifecycle events such as creating, updating, or deleting.
Mongoid 是一个 Ruby 的对象文档映射器(ODM),用于将 Ruby 对象转换为 MongoDB 文档。它充当文档数据库映射器和客户端库,为在 NoSQL 环境中管理数据持久化和检索提供了一种结构化方式。 该项目通过提供高级数据检索工具脱颖而出,包括用于语义相似度的向量搜索和用于关键词匹配的全文搜索。它通过客户端字段级加密、加密密钥轮换和 TLS 连接安全实现高安全性数据保护,以保护敏感信息。 广泛的功能包括通过回调钩子管理文档生命周期、将文档组织成层级树结构,以及使用聚合管道进行数据转换。它还处理数据库索引管理、用于集群流量的副本集路由,以及集成外部文件上传库。 该系统通过应用日志记录、数据库事件监控和文档历史跟踪提供可观测性工具。
Implements mechanisms to trigger custom logic during database model events like document creation and updates.