Skip to content

How to get the schema of a table? #272

@chowerth

Description

@chowerth

Hello,

I'm currently trying to figure out how to get the structure of a table with an SQL statement in Julia.

Something like this

image

myschema = SQLite.DBInterface.execute(db, """ select sql from sqlite_schema where name="albums" """

which I'm hoping to get a string or something like this

image

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions