开发者

to_json :include :order?

开发者 https://www.devze.com 2023-01-22 03:05 出处:网络
Is it possible to order includ开发者_如何学JAVAed models? format.json { render :json => @client.to_json(:include => { :videos => { :order => \'sortorder\' } }) }You need made when you create your @cl

Is it possible to order includ开发者_如何学JAVAed models?

format.json { render :json => @client.to_json(:include => { :videos => { :order => 'sortorder' } }) }


You need made when you create your @client. In your SQL request

0

精彩评论

暂无评论...
验证码 换一张
取 消