hi! how do i enable the sql backed

hi! how do i enable the sql backed storage in miniflare? it seems there is a enableSql option in workerd, but can't find the same in miniflare
1 Reply
Rui Hayashi
Rui HayashiOP2w ago
i found it, in case anyone needs, the attribute is useSQLite, for example:
durableObjects: { MY_DO: {className: "MyDo", useSQLite: true} }
durableObjects: { MY_DO: {className: "MyDo", useSQLite: true} }

Did you find this page helpful?