3 repositorios
Implementations that map database operations to standard language-level SQL interfaces.
Distinct from Interface-to-Implementation Bindings: Distinct from general interface bindings; specifically targets the mapping of DB operations to a standard SQL driver API.
Explore 3 awesome GitHub repositories matching software engineering & architecture · SQL Driver Interfaces. Refine with filters or upvote what's useful.
This project is a Go language driver for the SQLite database. It provides a relational database interface and a Cgo wrapper that connects Go applications to SQLite for persistent local data storage and query execution. The implementation serves as a provider for JSON document storage and local full-text search. It enables the creation, querying, and modification of JSON data and the implementation of searchable indexes for large text datasets directly within the database. The driver supports standard SQL query execution for both file-based and in-memory storage. It includes capabilities for
Maps database operations to the Go standard library SQL interface for compatibility with generic database toolkits.
go-sqlmock is a Go library that simulates SQL driver behavior for unit testing by intercepting database calls through the standard database/sql/driver interface, eliminating the need for a real database connection. It provides a comprehensive mocking framework that allows developers to define expectations for SQL operations, including queries, executions, prepared statements, and transaction lifecycles, with precise control over the results and errors returned. The library distinguishes itself through its flexible matching and verification capabilities. It supports regex-based or exact SQL
Intercepts database calls by implementing the database/sql/driver interfaces to simulate SQL driver behavior.
go-mysql es un kit de herramientas para la integración de bases de datos MySQL, que proporciona un controlador cliente nativo y las capacidades para implementar servidores o proxies personalizados compatibles con MySQL. Permite que las aplicaciones se comuniquen con servidores MySQL a través de patrones de interfaz SQL estándar. El proyecto proporciona soporte especializado para la sincronización de datos en tiempo real mediante la transmisión de eventos de registro binario. Esto permite capturar los cambios en la base de datos y enviarlos a almacenes de datos externos, motores de búsqueda o cachés para mantener la consistencia. La biblioteca incluye herramientas para el procesamiento eficiente de grandes conjuntos de datos en memoria, utilizando transmisión de resultados de consultas y mecanismos de devolución de llamada para manejar las filas individualmente. También cubre el análisis de protocolos de bajo nivel, agrupación de conexiones con estado y lógica de respuesta de paquetes personalizada.
Implements standard SQL driver interfaces to ensure compatibility with generic Go database execution environments.