Skip to content

[feat] support for all sqlite file extensions #31

Description

@Shivansh-yadav13

Issue
Sqlite database support the following file extensions
.sqlite, .sqlite3, .db, .db3, .s3db, .sl3
but sqlite-ui can only open files with .db extension.

Solution
Make the db uri flexible and allow the users to pass in file name along with the extension

db.ConnectDB(fmt.Sprintf("./sqlite_database/%s.db", dbName))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions