Skip to content

ScyllinXModern TypeScript ORM

For ScyllaDB and SQL databases with Laravel-inspired syntax

ScyllinX

Quick Example

typescript
// Define a model
interface UserAttributes {
  id: string;
  name: string;
  email: string;
  created_at?: Date;
  // Relationship attributes
  posts?: Post[]
}

class User extends Model<UserAttributes> {
  protected static table = 'users';
  protected static fillable = ['name', 'email'];
  
  // Define relationships
  postsRelation(): HasMany<User, Post> {
    return this.hasMany(Post, 'user_id', 'id');
  }
}

// Use the model
const user = await User.create({
  name: 'John Doe',
  email: 'john@example.com'
});

const posts = await user.postsRelation().where('published', true).get();

Why ScyllinX?

ScyllinX combines the best of both worlds: the familiar, elegant syntax of Laravel's Eloquent ORM with the power and performance of ScyllaDB. Whether you're building high-scale applications or need the flexibility of both SQL and NoSQL databases, ScyllinX provides the tools you need.

Key Benefits

  • Type Safety: Full TypeScript support ensures your queries are type-safe at compile time
  • Performance: Optimized for ScyllaDB's architecture with features like token-based queries and lightweight transactions
  • Familiar Syntax: If you know Laravel's Eloquent, you already know ScyllinX
  • Flexible: Works with both ScyllaDB and traditional SQL databases
  • Modern: Built with modern JavaScript/TypeScript features and best practices

Getting Started

bash
npm install scyllinx

Get started →

Released under the MIT License.