-
Notifications
You must be signed in to change notification settings - Fork 5
Introduction
Ke- edited this page Nov 28, 2013
·
6 revisions
The Datasource suite is a collection of types that work with any data source supported by Lasso 9. It has been designed to directly replace inline — offering improved performance and new productive ways of working with data.
- High performance (anywhere from 2x - 10x faster than inline)
- Hybrid active record implementation (low overhead OOP)
- Works directly with data source connectors
- Supports legacy inline expressions
- Automatic connection reuse
- Advance SQL query constructor
- Queriable types and clean simple syntax
// Connect to a data source
datasource(::database.table)
// Preferred short hand
ds(::database.table)
// Work with some rows
with row in ds(::store.products)->all->rows do {
#row(::column)
}