- fix null on date column (try 1)
- Update drizzle peer version and add pg test
- Update peerDependency to allow drizzle v0.30.x
- Add
options
togenerateCursor
sodecoder
,encoder
,parser
,serializer
,parse
andserialize
can be customized enabling custom cursor tokens.
- add Licence to README
- Add documentation on README
- change parse/serialize to encode/decode Base UTF-8 with
Buffer
instead of built-in atob/btoa
- Add docs and date tests
- Update drizzle-orm and devDependencies, also add
db:seed
and fix test example.
-
-
Add
parse()
/serialize()
function andconfig.parse()
/config.serialize()
methods to handle base64 tokens -
Refactor
config.where
so intead of being an object is a clousure function which enables to use the same instance ofgenerateCursor()
accross multiple calls calling.where()
without and with arguments. -
Remove second argument from
generateCursor()
which is now used as the argument of.where()
-
- set "ASC" as default for Cursor.order
- Move drizzle-orm from dependencies to peerDependencies