Releases: G4brym/workers-qb
Releases · G4brym/workers-qb
v1.5.0
31 Aug 11:00
Compare
Sorry, something went wrong.
No results found
v1.4.3
28 Aug 10:04
Compare
Sorry, something went wrong.
No results found
What's Changed
const result = await qb . fetchAll ( {
tableName : 'employees' ,
} ) . count ( )
console . log ( `Total Employees ${ result . results . total } ` )
Full Changelog : v1.4.2...v1.4.3
v1.4.2
27 Aug 17:20
Compare
Sorry, something went wrong.
No results found
v1.4.1
01 Aug 14:27
Compare
Sorry, something went wrong.
No results found
v1.4.0
30 Jul 19:06
Compare
Sorry, something went wrong.
No results found
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
v1.3.1
17 Jul 20:46
Compare
Sorry, something went wrong.
No results found
v1.3.0
22 Jun 13:54
Compare
Sorry, something went wrong.
No results found
What's Changed
Maintenance release: refactor tooling around package build and release by @G4brym in #45
Full Changelog : v1.2.4...v1.3.0
v1.2.4
15 Jun 19:12
Compare
Sorry, something went wrong.
No results found
What's Changed
Add support for bigint as a type
Full Changelog : v1.2.3...v1.2.4
v1.2.3
01 Jun 15:05
Compare
Sorry, something went wrong.
No results found
What's Changed
Fix #41 insert, update, delete and raw queries now return the correct typescript type when returning one or multiple rows
Full Changelog : v1.2.2...v1.2.3
v1.2.2
12 Mar 21:24
Compare
Sorry, something went wrong.
No results found
What's Changed
Fix bug on select when calling with empty where
Full Changelog : v1.2.1...v1.2.2