SQLite
Parameters
Required parameters are in red and Optional parameters are in blue.
- database_path, the full path to a sqlite database
this filepath may not yet exist, but it must end in.db
- pragma_speedy_inserts, whether or not to set
PRAGMAs
to improveINSERT
performance
default:False
( allowed:True
,False
)
- load_strategy, how to write new data into existing tables
default:APPEND
( allowed:APPEND
,TRUNCATE
,UPSERT
)
How do I use the Syncer in commands?
CS Tools accepts syncer definitions in either declarative or configuration file form.
Find the copy button to the right of the code block.
Simply write the parameters out alongside the command.
cs_tools tools searchable metadata --syncer "sqlite://database_path=thoughtspot.db" --config dogfood
* when declaring multiple parameters inline, you should wrap the enter value in quotes.
-
Create a file with the
.toml
extension. -
Write the filename in your command in place of the parameters.