Posts

Showing posts from March 22, 2019

Api-platform order for children

Image
0 1 I just begin to use api-platform to GET some entities and all their children. There is a self-join here, SQL looks like entity e0_ LEFT JOIN entity e1_ ON e0_.id = e1_.parent_id I found the result records are sorted by id ORDER BY e0_.id ASC , while their children are not sorted. My question is how to sort their children also ORDER BY e0_.id ASC, e1_.id ASC I viewed the document, seems not mentioned. https://api-platform.com/docs/core/default-order thanks sorting children api-platform.com share | improve this question asked Nov 26 '18 at 4:07 Bingbing Bingbing

Momento torcente

Image
.mw-parser-output .nota-disambigua{clear:both;margin-bottom:.5em;border:1px solid #CCC;padding-left:4px}.mw-parser-output .nota-disambigua i{vertical-align:middle} Disambiguazione – Se stai cercando in generale il momento di una forza, vedi Momento meccanico . Disambiguazione – Se stai cercando la coppia imposta per esempio da un motore in un veicolo, vedi Coppia motrice . .mw-parser-output .avviso .mbox-text-div>div,.mw-parser-output .avviso .mbox-text-full-div>div{font-size:90%}.mw-parser-output .avviso .mbox-image div{width:52px}.mw-parser-output .avviso .mbox-text-full-div .hide-when-compact{display:block} Questa voce o sezione sull'argomento meccanica è ritenuta da controllare . Motivo : Torque viene usato spesso come momento torcente Partecipa alla discussione e/o correggi la voce. Voce principale: Momento meccanico . La forza applicata F produce sempre il momento meccanico T sulla faccia superiore del cilindro. Se poi la sezione cil