3 مستودعات
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 هو مجموعة أدوات لتكامل قاعدة بيانات MySQL، توفر برنامج تشغيل عميل أصلي والقدرات اللازمة لتنفيذ خوادم أو وكلاء متوافقين مع MySQL. تمكن التطبيقات من التواصل مع خوادم MySQL من خلال أنماط واجهة SQL القياسية. يوفر المشروع دعماً متخصصاً لمزامنة البيانات في الوقت الفعلي عن طريق بث أحداث السجل الثنائي (binary log). يسمح هذا بالتقاط تغييرات قاعدة البيانات ودفعها إلى مخازن بيانات خارجية، أو محركات بحث، أو ذاكرات تخزين مؤقت للحفاظ على الاتساق. تتضمن المكتبة أدوات لمعالجة مجموعات البيانات الكبيرة بكفاءة في الذاكرة، باستخدام بث نتائج الاستعلام وآليات رد الاتصال (callback) للتعامل مع الصفوف بشكل فردي. كما تغطي تحليل البروتوكول منخفض المستوى، وتجميع الاتصالات ذات الحالة، ومنطق استجابة الحزم المخصص.
Implements standard SQL driver interfaces to ensure compatibility with generic Go database execution environments.