5 مستودعات
Object-relational mapping libraries specifically designed for the Node.js runtime and SQL databases.
Distinct from Node.js Database Integration: The candidates provided were either too general (integration) or unrelated (authentication, debuggers).
Explore 5 awesome GitHub repositories matching data & databases · Node.js SQL ORMs. Refine with filters or upvote what's useful.
Knex is a programmatic SQL query builder for Node.js applications. It provides a unified interface for generating database statements and managing structural versioning through a schema migration tool. The project features a multi-dialect database layer that translates programmatic queries into specific syntax for relational databases including PostgreSQL, MySQL, SQLite3, and MSSQL. This allows for writing database logic that remains compatible across different systems. The system includes infrastructure for managing reusable database connection pools and handling relational transactions to
Provides a programmatic JavaScript interface for generating SQL queries without writing raw SQL strings.
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
Provides a comprehensive object-relational mapper for Node.js that maps database tables to classes.
JSqlParser هي مكتبة Java لتحليل استعلامات SQL، تحول سلاسل SQL الخام إلى هيكل منظم من كائنات Java ذات النوع القوي. توفر الوسائل لتحليل ومعالجة استعلامات قاعدة البيانات برمجياً من خلال تمثيلها كشجرة من الكائنات. تدعم المكتبة كلاً من تحليل نص SQL الموجود والإنشاء البرمجي للبيانات الجديدة من خلال واجهة برمجة تطبيقات سلسة. وتتضمن آليات لتحويل أشجار الاستعلام وتسلسل نماذج الكائنات المنظمة مرة أخرى إلى نص SQL منسق. تشمل القدرات الإضافية تحليل مخطط قاعدة البيانات، مثل استخراج أسماء الجداول لتعيين تبعيات البيانات، والتحقق من صحة بناء جملة SQL. المحلل قابل للتكوين للتعامل مع لهجات بناء جملة مختلفة ويتضمن استرداداً متسامحاً مع الأخطاء لمواصلة معالجة النصوص البرمجية بعد مواجهة رموز غير صالحة.
Provides a programmatic tool for building SQL queries using a fluent API.
Waterline هي مكتبة قواعد بيانات تعتمد على المحولات (adapters) ورسام كائنات علائقي (ORM) لـ Node.js. تعمل كطبقة استمرارية متعددة قواعد البيانات تترجم استدعاءات الأساليب القياسية إلى استعلامات محددة لكل من قواعد بيانات SQL و NoSQL. توفر المكتبة واجهة موحدة لإدارة البيانات عبر مخازن مختلفة، بما في ذلك MySQL و PostgreSQL و MongoDB و Microsoft SQL Server. تسمح هذه البنية بدمج محركات قواعد بيانات متعددة داخل تطبيق واحد وتسهل عملية ترحيل بائع قاعدة البيانات عن طريق تغيير المحولات دون تغيير منطق العمل. يغطي المشروع الربط العلائقي والمستندي، ويوفر صيغة متسقة لتخزين واسترجاع البيانات. ويستخدم ربط الكائنات القائم على المخطط (schema-driven) لسد الفجوة بين جداول أو مجموعات قاعدة البيانات وكائنات JavaScript.
Acts as a database object relational mapper providing a consistent API across multiple different data stores.
Slonik is a type-safe PostgreSQL client for Node.js that uses tagged template literals to ensure parameters are bound and protected against injection attacks. It provides a framework for connecting applications to PostgreSQL with automatic type checking for queries and database schemas. The project distinguishes itself through a specialized SQL query linter that detects invalid columns and type mismatches by verifying code against a live database schema during the development process. It also includes a high-performance binary bulk data inserter for loading large datasets using native binary
Provides a tool for constructing composable SQL fragments with build-time and runtime schema validation.