TH - Data Modelling Flashcards
How do salesforce think about database tables
Tables are objects
Columns are fields
Rows are records
Field Types
Identity - 15 character case sensitive ID automatically generated for every record. Found in the url
System - System related information associated with a record, CreatedDate, LastModifiedById, LastModifiedDate
Name - All records have names, can be assigned manually or automated
Custom
Formula fields
Automatically generates a value based on another value
how to know a field is custom
–c at end of field name
Main types of object relationships
Lookup Relationships - One to one or one to many ( Think of property buying example)
Master-Detail Relationships - parent objects affect child objects
Hierarchical - associated with user objects (management chains)