Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLITE to SQL

CLI for converting SQLITE to SQL

Description

This CLI was created to convert SQLITE to SQL. It was used GoLang and libraries: [go-sqlite3](github.com/mattn/go-sqlite3 v1.14.19).


Dependencies

  • GoLang >= v1.16.5
  • [go-sqlite3](github.com/mattn/go-sqlite3 v1.14.19)
  • SQLITE file with the name database.db in the same folder as the executable

Installation

How to install the golang: GoLang

Linux

  1. Open the terminal
  2. Run the command to download golang
sudo apt-get update && sudo apt-get install golang-go
  1. Verify the installation
go version

Windows

  1. Download the installer from the official website
  2. Run the installer
  3. Verify the installation
go version

How to use

  1. Download the project

  2. Run the command below to install the dependencies

go get
  1. Run the command below to build the project
go build -o sqlite2sql
  1. Save the SQLITE file in the same folder as the executable with the name database.db

  2. Run the command below to convert the SQLITE file to SQL

./sqlite2sql
  1. The SQL file will be created in the same folder as the executable with the name output.sql

Author


License

MIT

About

This CLI was created to convert SQLITE to SQL.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages