5. An article comprising a non-transitory computer-readable medium having instructions for polymorphic selection of data that, when executed by one or more processors, are configurable to cause the one or more processors to: receive a request, via a graphical user interface and with a hardware computing device to provide database search functionality, wherein a database object having a target object type has been selected via the graphical user interface and the request comprises at least a database query, wherein the database query comprises at least an expression using a polymorphic relationship corresponding to the target object type, wherein the database query is for a multitenant database; process, with the hardware computing device, the request utilizing the polymorphic relationship by at least, automatically and without user interaction, selecting relevant set of one or more fields corresponding to the polymorphic reference based on a runtime type of the polymorphic reference, wherein the polymorphic relationship is specified by the expression that within a clause that allows the request to specify fields of a related parent object that are to be selected based on the type of the parent object; and provide, with the hardware computing device, a user-readable result on the graphical user interface for the query where the result is defined by at least the polymorphic relationship.
5. An article comprising a non-transitory computer-readable medium having instructions for polymorphic selection of data that, when executed by one or more processors, are configurable to cause the one or more processors to: receive a request, via a graphical user interface and with a hardware computing device to provide database search functionality, wherein a database object having a target object type has been selected via the graphical user interface and the request comprises at least a database query, wherein the database query comprises at least an expression using a polymorphic relationship corresponding to the target object type, wherein the database query is for a multitenant database; process, with the hardware computing device, the request utilizing the polymorphic relationship by at least, automatically and without user interaction, selecting relevant set of one or more fields corresponding to the polymorphic reference based on a runtime type of the polymorphic reference, wherein the polymorphic relationship is specified by the expression that within a clause that allows the request to specify fields of a related parent object that are to be selected based on the type of the parent object; and provide, with the hardware computing device, a user-readable result on the graphical user interface for the query where the result is defined by at least the polymorphic relationship. 7. The article of claim 5 wherein the expression selects different fields from a target of a polymorphic reference based on target type.