Skip to content

Allow using sqlite extensions during comptime verification #3330

Open
@Suya1671

Description

@Suya1671

Is your feature request related to a problem? Please describe.
I'm trying to use the uuid extension for the uuid_blob() function in sqlite. However, this errors out comptime verification since it doesn't load any extensions by default, nor is there a way to enable/add extensions at compile time.

Describe the solution you'd like
Some way to configure loading extensions during compile-time query checks. One way is to add query params to the DATABASE_URL (and also load the extensions at runtime as well), which would look something like sqlite://database.db?extension=uuid&extension=vsv

Describe alternatives you've considered
Compile sqlite with the extensions enabled by default

Additional context
seems that there were plans to do something like this in #1460 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions