不知大家对force.com平台数据库有没有研究,做过一阵force.com的开发,原来以为salesforce用的是oracle数据库,可是发现force.com官网上发布的文档并非如此:
http://wiki.developerforce.com/page/An_Introduction_to_Force_Database
In a relational database, tables store the data. Each table comprises a number of columns of a particular data type. Information is stored in rows of the table. Finally, tables can be related to other tables, using primary and foreign keys to map the rows in one table to rows in another.
The database in Force.com, on the other hand, uses objects to store data. Objects contain the functionality you expect in a table and more, but you should be aware that the difference also points to a difference in functionality. The object comprises a number of fields. Objects can be related to other objects, with relationship fields mapping records in one object to records in another. All attributes of an object are described with metadata, outlined later. Information is stored in records of the object.
When an object is materialized in the Apex language, it is called an sObject, to differentiate them from instances of Apex classes. We’ll use this terminology throughout the article.
我最感兴趣的是force.com数据库中的查找,主详,公式,累计汇总等字段类型,而且这些类型能够很好的保持数据的一致性和实时性,不知道force.com是如何实现的?