Snowflake ❄️ > Query 🔎
USAGE
$ sf snowflake query -a <value> -u <value> [--json] [-q <value>]
FLAGS
-a, --account=<value> (required) The Account for Snowflake ❄️
-q, --query=<value> The query of the data you'd like to sync ❄️.
-u, --username=<value> (required) The Username for Snowflake ❄️
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Snowflake ❄️ > Query 🔎
snowflake query
• Account
• User
• Query
EXAMPLES
snowflake query -a Account -u User -q Query:
$ sf snowflake query
Say hello to someone you know:
$ sf snowflake query -a ${Account} -u ${User} -q ${Query}
Snowflake ❄️ > Salesforce ☁️
USAGE
$ sf snowflake import -o <value> [--json] [-s <value>] [-m <value>] [-e <value>] [-q <value>]
FLAGS
-a, --account=<value> (required) The Account for Snowflake ❄️
-e, --extIdField=<value> [default: Id] The extIdField of the data you'd like to Upsert ☁️.
-m, --method=<value> [default: Upsert] The method of the data you'd like to sync ☁️.
-o, --target-org=<value> (required) Username or alias of the target org.
-q, --query=<value> The query of the data you'd like to sync ❄️.
-s, --sobject=<value> [default: Account] The sobject of the data you'd like to sync .
-u, --username=<value> (required) The Username for Snowflake ❄️
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Snowflake ❄️ > Salesforce ☁️
snowflake
• clientId
• oAuth
• query
salesforce
• sObject
• mode
• identifier
EXAMPLES
Import data from Snowflake ❄️ to Salesforce ☁️
Local dev
$ ./bin/sf snarf snowflake import -s Contact -m Upsert -e Id -q ./sql/contacts.sql -o devOrg
Or installed
$ sf snarf snowflake import -s Contact -m Upsert -e Id -q ./sql/contacts.sql -o devOrg