Releases: G4brym/workers-qb
Releases · G4brym/workers-qb
v1.5.1
v1.5.0
v1.4.3
v1.4.2
v1.4.1
v1.4.0
What's Changed
You can now do selects
in an ORM like syntax:
const qb = new D1QB(env.DB)
type Employee = {
name: string
role: string
level: number
}
const employeeList = await qb.select<Employee>('employees')
.where('active = ?', true)
.where('department = ?', 'HR')
.orderBy('created_at')
.execute()
Full Changelog: v1.3.1...v1.4.0