Skip to content

File Based Database Connections

Garry but Spinning edited this page Jul 1, 2021 · 2 revisions

Usage

If you would prefer, you can (instead of sqlier.Initialize), create a .json file in sqlier/database/ with your information

File Connection Information

  • File name (excluding the .json) is the database name, aka the first argument passed to sqlier.Initialize
  • JSON inside the file must have a key called driver, this is the same as the second argument (see Drivers)
  • Every other key is the same as conninfo
Clone this wiki locally