After the first time running the setup() function, a folder for SQLua will be created in the neovim data directory (~/.local/share/nvim/sqlua/) Note:

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-05-07 19:30:06

After the first time running the setup() function, a folder for SQLua will be created in the neovim data directory (~/.local/share/nvim/sqlua/)

Note: for SnowFlake, you will need the snowsql client. In the connections.json file, use snowflake for the name, and ensure all configuration is done in your snowsql config file.

The url should follow standard jdbc url format: rdbms://[user][:password]@[host][:port][/db][?args*] The url will be parsed to be used with the appropriate CLI command through args as necessary.

The sidebar navigator can be used to explore the DB and its various schema and tables, as well as creating various template queries.

The DB used will be highlighted and set to the "active" DB. Using the activate_db keybind will change which DB is considered the active one for each query.

Note, template DDL statements do not need to set the active DB; i.e., they will always be run based on the parent table, schema, and database.

Leave a Comment