Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5028

Creating records using related data and obtaining their primary keys?

$
0
0

Should I not be using something like: https://github.com/dreamfactorysoftware/dsp-core/wiki/SQL-Related-Data#getting-the-related-data

Where we have to related - Comma-delimited list of relations to return for each record in response, or "*" to retrieve all related records. By default, all fields of the related record(s) are returned. Optional fields, limit, and order can be sent for each relation. The following separate URL parameters apply to each relationship given...
.fields - A comma-delimited list of fields to return in the response for the related record(s). If this parameter is set to "*" or missing, all fields will be returned. Setting it to empty ("") will result in just the primary key field(s) and value(s) being returned.
.limit - An integer count value limiting the number of related records of the given relationship to return in the response. Default is unlimited until max response size met.
.order - Declares the ‘order by’ field and direction for sorting the related results per record per relationship.


Viewing all articles
Browse latest Browse all 5028