Unified Query Shape
Filters, sorting, pagination, joins, expansion, aggregation, and projections are represented as structured query metadata instead of route-specific SQL strings.
Query and Driver Engine
The infrastructure query engine inside ObjectStack
ObjectQL is the internal query engine and driver contract used by ObjectStack. It helps ObjectStack applications read and search heterogeneous data sources while ObjectOS enforces identity, permissions, audit, and AI tool boundaries. It is infrastructure for the development and runtime platforms, not the product center.
Portable data access for ObjectStack applications and ObjectOS runtime execution.
Filters, sorting, pagination, joins, expansion, aggregation, and projections are represented as structured query metadata instead of route-specific SQL strings.
Drivers translate ObjectQL operations into native SQL, MongoDB pipelines, spreadsheet reads, SaaS API calls, or custom enterprise protocols while keeping the object contract stable.
ObjectOS applies tenant isolation, row-level rules, field redaction, audit, and AI identity around every ObjectQL-backed operation.
Structured queries let REST APIs, ObjectUI views, SDKs, and MCP tools expose safe data access without handing AI raw SQL.
Query layer
It describes data-access intent, lets drivers translate to native systems, and stays wrapped by ObjectOS permissions and audit.
Views, APIs, SDKs, or MCP tools issue structured queries
ObjectQL represents filters, paging, joins, projections
Translate to SQL, documents, spreadsheets, or SaaS APIs
ObjectOS applies tenant, field, row permissions, audit
ObjectQL describes intent; each driver executes it in the language of its data source.
await objectql.find('customer', {
where: {
industry: { eq: 'manufacturing' },
annualRevenue: { gte: 10000000 }
},
sort: [{ field: 'updatedAt', direction: 'desc' }],
expand: ['accountManager'],
limit: 50
}); // PostgreSQL driver SELECT * FROM customers WHERE industry = $1 AND annual_revenue >= $2 ORDER BY updated_at DESC LIMIT 50; // MongoDB driver db.customers.aggregate([...]); // Excel driver read workbook rows, apply filters, return typed records
Use ObjectQL when ObjectStack applications need portable, governed data access across sources.
Mount Postgres, MongoDB, Excel, and legacy systems behind one query contract so applications can read them through consistent object metadata.
Implement a driver for a proprietary database, SaaS API, mainframe, or file format and let ObjectStack expose it as governed objects.
Expose permission-aware list, search, aggregate, and lookup tools to agents while preserving request attribution and audit trails.