function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sirkidsirkid 

Salesforce, can you keep your document up-to-date?

The Force.com Apex Code Developer's Guide as an official document from salesforce site, should contain the latest features and functions, instead of confusing developers. In the latest edition, it lists a lot of reserved keywords in page 574. However, this list is wrong. These are some of the faults:

future is in the list but it is NOT a keyword

rollback is NOT a keyword

type is NOT a keyword

static is missing in this list but it is a keyword

 

A lot of database literals are not keywords any more:

last_90_days

last_month

last_n_days

last_week

next_90_days

next_month

next_n_days

next_week

today

tomorrow

yesterday

convertcurrency

tolabel

 

The result is a little weird. Why isn't rollback a keyword, but commit is? Why future was?

Can anybody review the document and keep it up-to-date?