6. The method of claim 1 wherein the polymorphic relationship is determined based on input received via a user interface.
1. A method for polymorphic selection of data from a database storing data on at least one memory device and managed by one or more hardware processors, the method comprising: receiving, with the one or more processors, a request that has at least a database query compatible with salesforce object query language (SOQL), wherein the database query comprises at least an expression using a polymorphic relationship and a SELECT clause; adding, with the one or more processors, a TYPEOF expression to the SELECT clause to function as a case expression to allow specification of fields of a related parent object that are to be selected based on the polymorphic relationship; processing the request utilizing the polymorphic relationship, with the one or more processors, by running the query against a portion of a set of data in the database; transmitting, with the one or more processors, a result for the database query, where the result is defined by at least the polymorphic relationship, to a remote electronic device.