30 مستودعات
Designation of properties as unique identifiers for entities.
Distinct from Entity Modeling: Distinct from general entity modeling: focuses specifically on primary key definition.
Explore 30 awesome GitHub repositories matching data & databases · Primary Keys. Refine with filters or upvote what's useful.
This project is a comprehensive technical interview preparation resource and computer science interview guide. It serves as an educational reference for developers to study core software engineering fundamentals and common coding patterns required for employment screenings. The repository provides detailed guides and references covering data structures and algorithms, networking and security, operating systems, and web development. It specifically focuses on the implementation and complexity analysis of sorting, searching, and graph algorithms. The material encompasses a wide breadth of comp
Provides educational content on defining primary and candidate keys for unique tuple identification in databases.
Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using strongly-typed code. It serves as a comprehensive data access framework, providing a unified interface for mapping application objects to relational and non-relational database schemas while managing the lifecycle of data operations through a central context. The project distinguishes itself through a provider-based architecture that decouples core data access logic from specific database engines, allowing for consistent interaction across diverse storage systems. It features a
Designates unique identifiers for entities to ensure records are distinct and referenceable.
Perspective is a columnar data analytics engine and high-performance visualization component powered by WebAssembly. It provides a system for analyzing and visualizing large or streaming datasets through interactive data grids and charts, utilizing a compiled binary to achieve near-native performance within the browser. The project distinguishes itself through a WebSocket-based data streaming interface and deep Apache Arrow integration, which minimize memory overhead when synchronizing tables between servers and clients. It acts as a remote query proxy capable of translating visualization con
Designates specific columns as unique identifiers to enable in-place updates and targeted row deletions.
Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It uses the data mapper and identity map patterns to decouple the in-memory object model from the database schema, allowing developers to manage data persistence without writing manual SQL. The project features a dedicated object-oriented query language and programmatic builder for retrieving data based on entities rather than tables. It implements a unit-of-work system to track object changes during a request and synchronize them via atomic transactions. The capability surface inc
Ships a system to designate object properties as unique identifiers and configure generation strategies like auto-increment.
Jeesite is a full-stack low-code development framework designed for building enterprise administrative portals using Spring Boot, MyBatis, and Vue. It functions as a comprehensive platform for creating administrative dashboards with integrated role-based access control and organizational data permission systems. The framework distinguishes itself through a combination of automated CRUD code generation and an integrated RAG platform that connects large language models to enterprise data via vector stores. It further incorporates a BPMN-based workflow engine to automate complex business process
Supports the definition of unique identifiers using either single fields or composite primary keys.
Snowflake is a distributed unique ID generation service designed to produce non-colliding, time-ordered identification numbers at high scale. It functions as a scalable ID issuer that creates distinct entity identifiers across multiple server nodes to avoid coordination bottlenecks. The system utilizes stateless identifier coordination, calculating unique IDs through a deterministic mathematical formula rather than relying on a central database to track the last issued number. This approach allows it to generate identifiers for distributed database primary keys and high-scale transaction trac
Generates non-repeating, time-ordered identifiers to serve as primary keys for records in distributed databases.
Mapper is a MyBatis-specific library that provides annotation-driven object-relational mapping, enabling single-table CRUD operations without writing SQL or XML. It uses Java reflection and field-level annotations to map entity fields to database columns, configure primary key generation strategies, and generate mapper interfaces and model classes from database schemas. The library distinguishes itself through several practical capabilities. It includes a safe operation guard that blocks delete and update calls lacking query conditions, preventing accidental full-table modifications. Its exam
Provides annotation-based primary key generation strategy configuration on entity fields.
Objection.js is an object-relational mapper for Node.js that maps SQL database tables to classes and rows to model instances. It functions as a high-level abstraction layer built on top of the Knex.js query builder to provide structured model definitions and relational data mapping. The project distinguishes itself through its ability to manage complex object graphs, allowing for the persistence and eager-loading of deeply nested related data in single operations. It incorporates a data integrity layer that uses JSON schema validation to verify model instances before they are persisted to the
Identifies unique rows using either a single column or multiple columns to support various schema designs.
Ecto is an Elixir database toolkit that maps database rows to Elixir structs and validates data changes through changesets before persistence. It provides a language-integrated query syntax for composing database queries, building them incrementally and securely with compile-time expansion into safe SQL. The toolkit connects to multiple database backends including PostgreSQL, MySQL, MSSQL, SQLite3, ClickHouse, and ETS through a pluggable adapter interface. It supports eager and lazy preloading of associated records to eliminate N+1 query problems, and can store nested data structures as embed
Looks up single database rows using their unique identifier fields.
GreptimeDB is a distributed, open-source time-series database built for unified observability. It stores and queries metrics, logs, and traces together in a single columnar engine, supporting both SQL and PromQL for analysis. The database is designed as a Kubernetes-native operator with a decoupled compute and storage architecture, enabling horizontal scaling and multi-region deployment. What distinguishes GreptimeDB is its role as a multi-protocol ingestion gateway, accepting data through OpenTelemetry, Prometheus Remote Write, InfluxDB, Loki, Elasticsearch, Kafka, and MQTT protocols without
Selects columns that order data on disk and identify time series for deduplication and efficient scans.
CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools
Provides a model method to fetch rows by primary key, returning results in the configured format.
pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent query builder for constructing SQL statements programmatically. At its core, it automatically generates CREATE TABLE statements from Go struct definitions using struct tags and naming conventions, and builds queries through method chaining with placeholder-based parameter binding to prevent SQL injection. The library distinguishes itself through relation-aware join generation that automatically constructs JOIN clauses for has-one, has-many, many-to-many, and polymorphic assoc
Retrieves single database rows by primary key value, populating Go structs.
shortid هي مكتبة لإنشاء سلاسل نصية مدمجة وغير متسلسلة تُستخدم كمعرفات فريدة لسجلات قواعد البيانات وعناوين URL العامة. تعمل كأداة مساعدة للمعرفات الصديقة لـ URL مصممة لإنتاج سلاسل أبجدية رقمية قصيرة. يسمح المشروع باستخدام أبجدية مخصصة للتحكم في المظهر البصري للمعرفات وتجنب الغموض. يضمن تعيين مجموعة الأحرف المخصصة هذا أن المفاتيح التي تم إنشاؤها تلبي متطلبات تنسيق أو علامة تجارية محددة. يتضمن النظام إمكانيات لإنشاء مفاتيح غير متسلسلة لمنع تعداد الموارد، بالإضافة إلى أدوات للتحقق مما إذا كانت سلسلة معينة تلتزم بتنسيق المعرف المتوقع ومجموعة الأحرف.
Generates short and unique keys for MongoDB or Redis records to replace predictable default identifiers.
Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS
Provides automatic primary key generation and configuration for ORM models.
هذا المشروع عبارة عن مولد معرفات فريدة موزع مصمم لإنتاج معرفات فريدة عالميًا وقابلة للفرز بحجم 64 بت عبر عقد متعددة. ينفذ خوارزمية متوافقة مع Snowflake تمنع التصادمات من خلال الجمع بين الطوابع الزمنية، ومعرفات العامل، وأرقام التسلسل في عدد صحيح واحد. يتضمن النظام منسق معرف العامل لتخصيص والحفاظ على هويات الجهاز الفريدة أثناء بدء تشغيل المثيل والترحيل باستخدام استراتيجيات مدعومة بقاعدة بيانات. لزيادة إنتاجية الطلبات وتقليل التأخير، يستخدم طبقة تخزين مؤقت بحلقة (Ring-buffer) تقوم بتوليد المعرفات مسبقًا وتستخدم آلية إعادة تعبئة قائمة على العتبة. يوفر البرنامج قدرات لإدارة مفاتيح قاعدة البيانات الموزعة، وتنسيق عقد النظام، وتكوين توزيع البتات لموازنة احتياجات التزامن مقابل عمر النظام. كما يتضمن أدوات لتحليل المعرفات المولدة مرة أخرى إلى مكوناتها الأصلية.
Generates time-ordered unique identifiers specifically designed for use as primary keys in distributed databases.
MyBatis Generator هي أداة تفحص جداول قاعدة البيانات لإنتاج كائنات النموذج، وواجهات mapper، وملفات تكوين SQL تلقائياً. تعمل كأداة تعيين مخطط قاعدة البيانات ومولد عمليات CRUD، حيث تترجم أعمدة قاعدة البيانات العلائقية إلى فئات وسجلات خاصة باللغة. المشروع عبارة عن مولد كود قابل للتوسيع يسمح بتخصيص ملفات المخرجات من خلال آلية إضافات. يتيح إطار العمل هذا إضافة منطق عمل محدد أو تعديل عملية التوليد لإنتاج ملفات مخرجات مصممة خصيصاً. يغطي المولد مجموعة واسعة من القدرات، بما في ذلك تنفيذ الاستعلامات الديناميكية، وإنشاء نماذج غير قابلة للتغيير، وأتمتة عمليات الإنشاء والقراءة والتحديث والحذف القياسية. يدعم تعيين مخطط قاعدة البيانات مع مفاتيح أساسية افتراضية ويمكنه إنشاء كود للغات متعددة، بما في ذلك Kotlin. يمكن تنفيذ عملية التوليد عبر أدوات سطر الأوامر، أو استدعاءات الوظائف المباشرة، أو كإضافة أداة بناء مدمجة في خطوط أنابيب التكامل المستمر.
Assigns primary key behavior to columns via configuration when the underlying database lacks formal primary key constraints.
ksuid هو تنفيذ بلغة Go لمعرفات فريدة قابلة للفرز (k-sortable). يوفر نظاماً لإنشاء معرفات فريدة عالمياً تحافظ على ترتيب زمني طبيعي بناءً على طابعها الزمني للإنشاء. يمكن المشروع من إنشاء مفاتيح فريدة عبر الأنظمة الموزعة دون منسق مركزي. تم تصميم هذه المعرفات للاستخدام كمفاتيح أساسية لقاعدة البيانات للحفاظ على أداء الفهرس وكفاءة الإدراج. تتضمن المكتبة قدرات لتسلسل المعرفات وتحليلها، مما يسمح بالتحويل بين التنسيقات الثنائية، والنصية، و SQL. كما توفر أدوات سطر أوامر لإنشاء وفك تشفير المعرفات دون الحاجة إلى كود التطبيق.
Optimizes SQL database performance by using time-ordered identifiers as primary keys.
هذا المشروع عبارة عن تنفيذ لمعيار ULID في لغة البرمجة Go. يوفر أدوات لتوليد معرفات فريدة عالمياً وقابلة للفرز معجمياً تجمع بين طوابع زمنية بالملي ثانية وبيانات عشوائية. تضمن المكتبة أن المعرفات تحافظ على الترتيب الزمني من خلال الفرز الأبجدي. تتضمن مولداً رتيباً لضمان أن المعرفات المتعددة التي تم إنشاؤها في نفس الملي ثانية يتم إنتاجها في تسلسل متزايد بدقة. يغطي المشروع توليد المعرفات الفريدة وتحسين المفتاح الأساسي لقاعدة البيانات. كما يوفر واجهة سطر أوامر لتوليد معرفات جديدة واستخراج معلومات الطابع الزمني من سلاسل الهوية الموجودة.
Provides time-ordered unique identifiers designed to optimize indexing and reduce fragmentation in database primary keys.
Bun هو راسم علاقات كائنات (ORM) آمن من حيث النوع لـ Go يعطي الأولوية لبناء استعلام SQL أولاً وتعيين النتائج. يعمل كمنشئ استعلام SQL قابل للبرمجة، ومدير اتصال قاعدة بيانات، وأداة لتعيين جداول قاعدة البيانات إلى هياكل Go. يتميز المشروع من خلال نظام دعم SQL متعدد اللهجات، مما يسمح لقاعدة كود واحدة بالتفاعل مع محركات قواعد بيانات مختلفة عبر واجهة متسقة. يتضمن أداة مراقبة قاعدة بيانات مدمجة لاعتراض الاستعلام، والتتبع الموزع، والتسجيل، بالإضافة إلى أداة ترحيل المخطط لإصدار التغييرات الهيكلية. تغطي المكتبة مجموعة واسعة من عمليات البيانات، بما في ذلك المعالجة المجمعة، و upserts، والحذف الناعم، وإدارة البيانات العلائقية مثل الارتباطات متعددة الأشكال. توفر قدرات لتحليلات SQL المتقدمة باستخدام تعبيرات الجدول الشائعة ووظائف النافذة، إلى جانب إدارة المعاملات الذرية وتجميع الاتصالات. يتم دعم إدارة المخطط عبر واجهة سطر أوامر لتطبيق نصوص الترحيل ذات الإصدارات.
Automatically generates WHERE clauses to retrieve rows based on model primary keys.
FreeSql هو أداة تعيين كائنات-علاقات (ORM) في .NET وطبقة وصول للبيانات تترجم الكود الموجه للكائنات إلى SQL لمزودي قواعد بيانات علائقية متعددين. يعمل كمنشئ استعلام SQL بأسلوب fluent ومزامن لمخطط قاعدة البيانات، مما يسمح للمطورين بمواءمة هياكل جداول وفهارس قاعدة البيانات مع تعريفات فئات الكيانات. تم تحسين إطار العمل خصيصاً لـ .NET Native AOT لضمان تقليل بصمات الذاكرة وأوقات بدء تشغيل أسرع. يتضمن مديراً لحركة مرور قاعدة البيانات لتوزيع الحمل من خلال تقسيم القراءة والكتابة، وتقسيم الجداول الديناميكي (sharding)، وعزل البيانات القائم على المستأجر. تشمل الإمكانيات الواسعة استيعاب البيانات عالي الأداء باستخدام آليات النسخ المجمع الخاصة بالمزود، والاستعلام المتقدم مع دوال النافذة و CTEs المتكررة، والمراقبة القائمة على AOP لتدقيق تغييرات البيانات. يوفر النظام أيضاً أدوات إدارة المخطط للترحيلات المؤتمتة وأدوات التطوير لتوليد فئات الكيانات من بيانات تعريف قاعدة البيانات.
Specifies unique identifiers for records, supporting composite keys and automatic ID generation.