IntelliJ Custom JDBC driver Date Literals

已回答

I am working on the Salesforce JDBC driver for SOQL.

The syntax allows to provide the date/time values without quotes like that: 

https://developer.salesforce.com/docs/atlas.en-us.234.0.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_dateformats.htm

SELECT Id FROM Account WHERE CreatedDate > 2005-10-08T01:02:03Z

Which fails to be processed in IntelliJ as it tries to resolve the symbol : as a parameter.

Is there a way to let it be passed as is? or convert to string...

0

It also has a lot of Date literals like YESTERDAY, TODAY, LAST_90_DAYS and so on...

Is there a way to add them to autocomplete?

0

Salesforce SOQL is not yet supported. Follow https://youtrack.jetbrains.com/issue/DBE-2283 for updates when it is implemented.

0

请先登录再写评论。