{"repo":"gradii/fedaco","free":true,"listed":false,"github":"https://github.com/gradii/fedaco","clone":"git clone https://github.com/gradii/fedaco.git","description":"Laravel Eloquent With Typescript","language":"TypeScript","stars":17,"topics":["typescript","orm","sqlite","database","nodejs","mariadb","postgresql","active-record","eloquent","eloquent-orm"],"license":"MIT","category":"databases-storage","readme_excerpt":"Fedaco ORM Laravel Eloquent-style ORM for TypeScript. Decorator-based models, fluent query builder, eager-loaded relationships, transactions, schema builder. 📚 Full documentation · 🧪 Examples Install Install fedaco core plus one driver package per database you want to talk to: Database Driver package ----------------- ----------------------------------- SQLite @gradii/fedaco-sqlite-driver MySQL / MariaDB @gradii/fedaco-mysql-driver PostgreSQL @gradii/fedaco-postgres-driver SQL Server @gradii/fedaco-sqlserver-driver Enable experimentalDecorators and emitDecoratorMetadata in tsconfig.json . Quick Start 1. Set up a connection The factory field is required — fedaco no longer ships drivers in core, so the driver package supplies its own factory. 2. Create a table 3. Define a model 4. CRUD 5. Transactions For long-running or concurrent transactions, opt into isolated: true with a connection pool — see the Connection Pooling guide. Features - Decorator-based model definition ( @Table , @Column , @PrimaryGeneratedColumn , @CreatedAtColumn , …) - Fluent query builder compiled to SQL - All eager-load patterns: HasOne , HasMany , BelongsTo , BelongsToMany , HasOneThrough , HasManyThrough , HasOneOfMany , polymorphic - Per-relation onQuery hook for baked-in constraints, custom pivots, \"one of many\" disambiguation - Soft deletes, mass-assignment guards, accessors, casts - Multi-connection, read/write split, connection pooling, isolated transactions - Schema builder with migration CLI - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/gradii","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gradii/fedaco/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}