Skip to content

Using "Order by random()" #334

@CasanovaGregory

Description

@CasanovaGregory

Hi,

I'm trying to use the random function of Sqlite and I'm facing some problem. Is the random function supported in the plugin ? I'm using it like this :

SELECT * FROM products ORDER BY RANDOM()

In an editor like "DB Browser for SQLite" it works, but not using the plugin...

I get the following error :
"code: 5, message: "could not prepare statement (1 not authorized to use function: random)"

Any reason ?
Thank's a lot !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions