Hi

I am trying to write a dataframe into salesforce table.

facWriteBack.write.mode("append").jdbc(s"jdbc:salesforce:UseSandbox=True;User=<user_name>;Password=<password>;Security
 Token=<security_token>;Timeout=0", "SFORCE.<table_name>")

Am I doing it correctly?
And also suggest, how to upsert a record?


Thanks in advance
Niraj

Disclaimer : 
This email communication may contain privileged and confidential information 
and is intended for the use of the addressee only. If you are not an intended 
recipient you are requested not to reproduce, copy disseminate or in any manner 
distribute this email communication as the same is strictly prohibited. If you 
have received this email in error, please notify the sender immediately by 
return e-mail and delete the communication sent in error. Email communications 
cannot be guaranteed to be secure & error free and Incedo Inc. is not liable 
for any errors in the email communication or for the proper, timely and 
complete transmission thereof.

Reply via email to