3 repository-uri
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 este un toolkit pentru integrarea bazelor de date MySQL, oferind un driver client nativ și capabilități pentru a implementa servere sau proxy-uri personalizate compatibile cu MySQL. Permite aplicațiilor să comunice cu serverele MySQL prin tipare standard de interfață SQL. Proiectul oferă suport specializat pentru sincronizarea datelor în timp real prin streaming-ul evenimentelor din log-urile binare. Acest lucru permite capturarea modificărilor bazei de date și trimiterea lor către stocări de date externe, motoare de căutare sau cache-uri pentru a menține consistența. Biblioteca include instrumente pentru procesarea seturilor mari de date cu eficiență în utilizarea memoriei, utilizând streaming-ul rezultatelor interogărilor și mecanisme de callback pentru a gestiona rândurile individual. De asemenea, acoperă parsarea protocolului la nivel scăzut, pooling-ul de conexiuni stateful și logica personalizată de răspuns la pachete.
Implements standard SQL driver interfaces to ensure compatibility with generic Go database execution environments.