awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

30 مستودعات

Awesome GitHub RepositoriesPrimary Keys

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.

Awesome Primary Keys GitHub Repositories

اعثر على أفضل المستودعات باستخدام الذكاء الاصطناعي.سنبحث عن أفضل المستودعات المطابقة باستخدام الذكاء الاصطناعي.
  • gyoogle/tech-interview-for-developerالصورة الرمزية لـ gyoogle

    gyoogle/tech-interview-for-developer

    17,417عرض على GitHub↗

    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.

    Javaalgorithmcomputer-sciencecs
    عرض على GitHub↗17,417
  • dotnet/efcoreالصورة الرمزية لـ dotnet

    dotnet/efcore

    14,587عرض على GitHub↗

    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.

    C#aspnet-productc-sharpdatabase
    عرض على GitHub↗14,587
  • perspective-dev/perspectiveالصورة الرمزية لـ perspective-dev

    perspective-dev/perspective

    10,981عرض على GitHub↗

    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.

    C++analyticsbidata-visualization
    عرض على GitHub↗10,981
  • doctrine/ormالصورة الرمزية لـ doctrine

    doctrine/orm

    10,172عرض على GitHub↗

    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.

    PHPhacktoberfest
    عرض على GitHub↗10,172
  • thinkgem/jeesiteالصورة الرمزية لـ thinkgem

    thinkgem/jeesite

    8,044عرض على GitHub↗

    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.

    Vue
    عرض على GitHub↗8,044
  • twitter-archive/snowflakeالصورة الرمزية لـ twitter-archive

    twitter-archive/snowflake

    7,775عرض على GitHub↗

    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.

    Scala
    عرض على GitHub↗7,775
  • abel533/mapperالصورة الرمزية لـ abel533

    abel533/Mapper

    7,370عرض على GitHub↗

    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.

    Javamappermybatismybatis-plugin
    عرض على GitHub↗7,370
  • vincit/objection.jsالصورة الرمزية لـ Vincit

    Vincit/objection.js

    7,343عرض على GitHub↗

    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.

    JavaScript
    عرض على GitHub↗7,343
  • elixir-ecto/ectoالصورة الرمزية لـ elixir-ecto

    elixir-ecto/ecto

    6,471عرض على GitHub↗

    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.

    Elixir
    عرض على GitHub↗6,471
  • greptimeteam/greptimedbالصورة الرمزية لـ GreptimeTeam

    GreptimeTeam/greptimedb

    5,968عرض على GitHub↗

    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.

    Rustanalyticscloud-nativedatabase
    عرض على GitHub↗5,968
  • codeigniter4/codeigniter4الصورة الرمزية لـ codeigniter4

    codeigniter4/CodeIgniter4

    5,924عرض على GitHub↗

    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.

    PHPcodeignitercodeigniter4framework-php
    عرض على GitHub↗5,924
  • go-pg/pgالصورة الرمزية لـ go-pg

    go-pg/pg

    5,785عرض على GitHub↗

    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.

    Go
    عرض على GitHub↗5,785
  • dylang/shortidالصورة الرمزية لـ dylang

    dylang/shortid

    5,715عرض على GitHub↗

    shortid هي مكتبة لإنشاء سلاسل نصية مدمجة وغير متسلسلة تُستخدم كمعرفات فريدة لسجلات قواعد البيانات وعناوين URL العامة. تعمل كأداة مساعدة للمعرفات الصديقة لـ URL مصممة لإنتاج سلاسل أبجدية رقمية قصيرة. يسمح المشروع باستخدام أبجدية مخصصة للتحكم في المظهر البصري للمعرفات وتجنب الغموض. يضمن تعيين مجموعة الأحرف المخصصة هذا أن المفاتيح التي تم إنشاؤها تلبي متطلبات تنسيق أو علامة تجارية محددة. يتضمن النظام إمكانيات لإنشاء مفاتيح غير متسلسلة لمنع تعداد الموارد، بالإضافة إلى أدوات للتحقق مما إذا كانت سلسلة معينة تلتزم بتنسيق المعرف المتوقع ومجموعة الأحرف.

    Generates short and unique keys for MongoDB or Redis records to replace predictable default identifiers.

    JavaScript
    عرض على GitHub↗5,715
  • tortoise/tortoise-ormالصورة الرمزية لـ tortoise

    tortoise/tortoise-orm

    5,582عرض على GitHub↗

    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.

    Pythonasyncasynciomysql
    عرض على GitHub↗5,582
  • baidu/uid-generatorالصورة الرمزية لـ baidu

    baidu/uid-generator

    5,572عرض على GitHub↗

    هذا المشروع عبارة عن مولد معرفات فريدة موزع مصمم لإنتاج معرفات فريدة عالميًا وقابلة للفرز بحجم 64 بت عبر عقد متعددة. ينفذ خوارزمية متوافقة مع Snowflake تمنع التصادمات من خلال الجمع بين الطوابع الزمنية، ومعرفات العامل، وأرقام التسلسل في عدد صحيح واحد. يتضمن النظام منسق معرف العامل لتخصيص والحفاظ على هويات الجهاز الفريدة أثناء بدء تشغيل المثيل والترحيل باستخدام استراتيجيات مدعومة بقاعدة بيانات. لزيادة إنتاجية الطلبات وتقليل التأخير، يستخدم طبقة تخزين مؤقت بحلقة (Ring-buffer) تقوم بتوليد المعرفات مسبقًا وتستخدم آلية إعادة تعبئة قائمة على العتبة. يوفر البرنامج قدرات لإدارة مفاتيح قاعدة البيانات الموزعة، وتنسيق عقد النظام، وتكوين توزيع البتات لموازنة احتياجات التزامن مقابل عمر النظام. كما يتضمن أدوات لتحليل المعرفات المولدة مرة أخرى إلى مكوناتها الأصلية.

    Generates time-ordered unique identifiers specifically designed for use as primary keys in distributed databases.

    Java
    عرض على GitHub↗5,572
  • mybatis/generatorالصورة الرمزية لـ mybatis

    mybatis/generator

    5,317عرض على GitHub↗

    MyBatis Generator هي أداة تفحص جداول قاعدة البيانات لإنتاج كائنات النموذج، وواجهات mapper، وملفات تكوين SQL تلقائياً. تعمل كأداة تعيين مخطط قاعدة البيانات ومولد عمليات CRUD، حيث تترجم أعمدة قاعدة البيانات العلائقية إلى فئات وسجلات خاصة باللغة. المشروع عبارة عن مولد كود قابل للتوسيع يسمح بتخصيص ملفات المخرجات من خلال آلية إضافات. يتيح إطار العمل هذا إضافة منطق عمل محدد أو تعديل عملية التوليد لإنتاج ملفات مخرجات مصممة خصيصاً. يغطي المولد مجموعة واسعة من القدرات، بما في ذلك تنفيذ الاستعلامات الديناميكية، وإنشاء نماذج غير قابلة للتغيير، وأتمتة عمليات الإنشاء والقراءة والتحديث والحذف القياسية. يدعم تعيين مخطط قاعدة البيانات مع مفاتيح أساسية افتراضية ويمكنه إنشاء كود للغات متعددة، بما في ذلك Kotlin. يمكن تنفيذ عملية التوليد عبر أدوات سطر الأوامر، أو استدعاءات الوظائف المباشرة، أو كإضافة أداة بناء مدمجة في خطوط أنابيب التكامل المستمر.

    Assigns primary key behavior to columns via configuration when the underlying database lacks formal primary key constraints.

    Javacode-generatorjava-8kotlin
    عرض على GitHub↗5,317
  • segmentio/ksuidالصورة الرمزية لـ segmentio

    segmentio/ksuid

    5,260عرض على GitHub↗

    ksuid هو تنفيذ بلغة Go لمعرفات فريدة قابلة للفرز (k-sortable). يوفر نظاماً لإنشاء معرفات فريدة عالمياً تحافظ على ترتيب زمني طبيعي بناءً على طابعها الزمني للإنشاء. يمكن المشروع من إنشاء مفاتيح فريدة عبر الأنظمة الموزعة دون منسق مركزي. تم تصميم هذه المعرفات للاستخدام كمفاتيح أساسية لقاعدة البيانات للحفاظ على أداء الفهرس وكفاءة الإدراج. تتضمن المكتبة قدرات لتسلسل المعرفات وتحليلها، مما يسمح بالتحويل بين التنسيقات الثنائية، والنصية، و SQL. كما توفر أدوات سطر أوامر لإنشاء وفك تشفير المعرفات دون الحاجة إلى كود التطبيق.

    Optimizes SQL database performance by using time-ordered identifiers as primary keys.

    Gocoordinationgogolang
    عرض على GitHub↗5,260
  • oklog/ulidالصورة الرمزية لـ oklog

    oklog/ulid

    5,040عرض على GitHub↗

    هذا المشروع عبارة عن تنفيذ لمعيار ULID في لغة البرمجة Go. يوفر أدوات لتوليد معرفات فريدة عالمياً وقابلة للفرز معجمياً تجمع بين طوابع زمنية بالملي ثانية وبيانات عشوائية. تضمن المكتبة أن المعرفات تحافظ على الترتيب الزمني من خلال الفرز الأبجدي. تتضمن مولداً رتيباً لضمان أن المعرفات المتعددة التي تم إنشاؤها في نفس الملي ثانية يتم إنتاجها في تسلسل متزايد بدقة. يغطي المشروع توليد المعرفات الفريدة وتحسين المفتاح الأساسي لقاعدة البيانات. كما يوفر واجهة سطر أوامر لتوليد معرفات جديدة واستخراج معلومات الطابع الزمني من سلاسل الهوية الموجودة.

    Provides time-ordered unique identifiers designed to optimize indexing and reduce fragmentation in database primary keys.

    Go
    عرض على GitHub↗5,040
  • uptrace/bunالصورة الرمزية لـ uptrace

    uptrace/bun

    4,867عرض على GitHub↗

    Bun هو راسم علاقات كائنات (ORM) آمن من حيث النوع لـ Go يعطي الأولوية لبناء استعلام SQL أولاً وتعيين النتائج. يعمل كمنشئ استعلام SQL قابل للبرمجة، ومدير اتصال قاعدة بيانات، وأداة لتعيين جداول قاعدة البيانات إلى هياكل Go. يتميز المشروع من خلال نظام دعم SQL متعدد اللهجات، مما يسمح لقاعدة كود واحدة بالتفاعل مع محركات قواعد بيانات مختلفة عبر واجهة متسقة. يتضمن أداة مراقبة قاعدة بيانات مدمجة لاعتراض الاستعلام، والتتبع الموزع، والتسجيل، بالإضافة إلى أداة ترحيل المخطط لإصدار التغييرات الهيكلية. تغطي المكتبة مجموعة واسعة من عمليات البيانات، بما في ذلك المعالجة المجمعة، و upserts، والحذف الناعم، وإدارة البيانات العلائقية مثل الارتباطات متعددة الأشكال. توفر قدرات لتحليلات SQL المتقدمة باستخدام تعبيرات الجدول الشائعة ووظائف النافذة، إلى جانب إدارة المعاملات الذرية وتجميع الاتصالات. يتم دعم إدارة المخطط عبر واجهة سطر أوامر لتطبيق نصوص الترحيل ذات الإصدارات.

    Automatically generates WHERE clauses to retrieve rows based on model primary keys.

    Godatabasegogolang
    عرض على GitHub↗4,867
  • dotnetcore/freesqlالصورة الرمزية لـ dotnetcore

    dotnetcore/FreeSql

    4,388عرض على GitHub↗

    FreeSql هو أداة تعيين كائنات-علاقات (ORM) في .NET وطبقة وصول للبيانات تترجم الكود الموجه للكائنات إلى SQL لمزودي قواعد بيانات علائقية متعددين. يعمل كمنشئ استعلام SQL بأسلوب fluent ومزامن لمخطط قاعدة البيانات، مما يسمح للمطورين بمواءمة هياكل جداول وفهارس قاعدة البيانات مع تعريفات فئات الكيانات. تم تحسين إطار العمل خصيصاً لـ .NET Native AOT لضمان تقليل بصمات الذاكرة وأوقات بدء تشغيل أسرع. يتضمن مديراً لحركة مرور قاعدة البيانات لتوزيع الحمل من خلال تقسيم القراءة والكتابة، وتقسيم الجداول الديناميكي (sharding)، وعزل البيانات القائم على المستأجر. تشمل الإمكانيات الواسعة استيعاب البيانات عالي الأداء باستخدام آليات النسخ المجمع الخاصة بالمزود، والاستعلام المتقدم مع دوال النافذة و CTEs المتكررة، والمراقبة القائمة على AOP لتدقيق تغييرات البيانات. يوفر النظام أيضاً أدوات إدارة المخطط للترحيلات المؤتمتة وأدوات التطوير لتوليد فئات الكيانات من بيانات تعريف قاعدة البيانات.

    Specifies unique identifiers for records, supporting composite keys and automatic ID generation.

    C#accessclickhousecodefirst
    عرض على GitHub↗4,388
السابق12التالي
  1. Home
  2. Data & Databases
  3. Entity Modeling
  4. Primary Keys

استكشف الوسوم الفرعية

  • Annotation-Based Key StrategiesSets custom annotations on entity fields to define how primary keys are generated, replacing complex JPA configurations. **Distinct from Primary Keys:** Distinct from Primary Keys: focuses on configuring generation strategies via annotations, not just designating properties as identifiers.
  • Automatic Primary Key InjectionAutomatic generation and insertion of unique primary keys during write operations to ensure shard integrity. **Distinct from Primary Keys:** Focuses on the automatic injection/population of keys during inserts, not just the definition of keys.
  • CompositeSupport for identifying unique rows using multiple columns as a combined primary key. **Distinct from Primary Keys:** Specifically addresses the use of multiple columns for a single primary key, rather than simple unique property designation.
  • Distributed Primary Key GenerationGenerating unique, time-ordered identifiers specifically for use as primary keys in distributed databases. **Distinct from Primary Keys:** Distinct from Primary Keys: focuses on the generation mechanism for distributed keys rather than the database schema definition.
  • Key Generation Strategies2 وسوم فرعيةInterchangeable logic for generating primary keys including sequences and auto-increments. **Distinct from Sequential Key Generators:** Covers a variety of generation strategies, not just sequential ones.
  • Primary Key ConfigurationsDesignating a field as the primary key, with automatic generation of an integer key if none is specified. **Distinct from Primary Keys:** Distinct from Primary Keys: focuses on the configuration and automatic generation of primary keys, not just the designation of properties as unique identifiers.
  • Primary Key RemovalsOperations for removing the primary key constraint from a database table. **Distinct from Primary Keys:** Distinct from Primary Keys: focuses on removing primary key constraints, not designating or retrieving them.
  • Primary Key Retrievals1 وسم فرعيFetching single or multiple rows by their primary key values. **Distinct from Primary Keys:** Distinct from Primary Keys: focuses on the retrieval operation using primary keys, not the definition of primary keys.
  • Primary Key Type Migrations1 وسم فرعيConverting the data type of primary keys across shards during database migrations. **Distinct from Primary Keys:** Focuses on the conversion of types (e.g., int to 64-bit) during resharding, not the definition of keys.
  • Sequential Key GeneratorsSystems for automatically generating unique, sequential numbers for use as primary keys. **Distinct from Primary Keys:** Focuses on the generation mechanism of sequential values rather than just the designation of a property as a primary key
  • Short Key GeneratorsGeneration of compact identifiers specifically for use as primary keys in databases. **Distinct from Primary Keys:** Specializes in creating short, non-predictable keys rather than general primary key designation.
  • VirtualConfigurations that simulate primary key behavior for tables lacking formal constraints in the database schema. **Distinct from Primary Keys:** Distinct from Primary Keys as it focuses on virtual mapping via configuration rather than actual database constraints.