01 / Application runtime
The web.
With native reach.
Build native apps with HTML, CSS, and JavaScript. Add windows, files, and local data through Runtime APIs.
Linux · macOS · Windows · Android · iOS
Oro RuntimeJavaScript / native APIs
import { open } from 'oro:sqlite'
const db = open(':memory:')
db.exec('CREATE TABLE notes (body TEXT)')
db.exec('INSERT INTO notes (body) VALUES (?)', {
params: ['An idea, kept close.'],
})
const { rows } = db.exec('SELECT body FROM notes')
console.log(rows[0].body)
db.close()