Transform Google Sheets into a Powerful Database
ServiceSQL is an Eloquent-inspired ORM library for Google Apps Script that brings Laravel-style Models, QueryBuilder, Collections, and Relationships to Google Sheets.Quickstart
Get started with ServiceSQL in under 5 minutes
Installation
Install ServiceSQL as a Google Apps Script library
Models
Define Eloquent-style Models with timestamps and casts
Query Builder
Build complex queries with a fluent API
Key Features
Eloquent Models
Define Models with automatic timestamps, soft deletes, and type casting
Fluent QueryBuilder
Build queries with WHERE, JOIN, GROUP BY, and aggregations
Relationships
Connect Models with BelongsTo, HasMany, HasOne, and ManyToMany
Collections
Transform data with 50+ Laravel-inspired collection methods
Eager Loading
Prevent N+1 queries with automatic eager loading
Type Casting
Automatically cast values to int, bool, json, date, and more
Quick Example
Here’s how easy it is to work with ServiceSQL:Why ServiceSQL?
Familiar API
If you know Laravel Eloquent, you already know ServiceSQL
No External Dependencies
Pure JavaScript for Google Apps Script
Production Ready
Battle-tested features with comprehensive documentation
Developer Experience
Clean, fluent API that makes your code readable and maintainable
Get Started
Ready to get started?
Follow our quickstart guide to build your first ServiceSQL application