PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/wheels/tests/_assets/controllers/ControllerWithNestedModel.cfc

http://cfwheels.googlecode.com/
ColdFusion CFScript | 6 lines | 4 code | 2 blank | 0 comment | 0 complexity | 826d58eca2f365fc91bbdccfe3602c85 MD5 | raw file
1<cfcomponent extends="wheelsMapping.Controller">
2
3	<cfset author = model("author").findOne(where="lastname = 'Djurner'", include="profile")>
4	<cfset author.posts = author.posts(include="comments", returnAs="objects")>
5
6</cfcomponent>