5.15 独立使用ActiveRecord 5.15 独立使用ActiveRecord ActiveRecordPlugin可以独立于java web 环境运行在任何普通的java程序中,使用方式极度简单,相对于web项目只需要手动调用一下其start() 方法即可立即使用。以下是代码示例: public class ActiveReco...
5.15 独立使用ActiveRecord 5.15 独立使用ActiveRecord ActiveRecordPlugin可以独立于java web 环境运行在任何普通的java程序中,使用方式极度简单,相对于web项目只需要手动调用一下其start() 方法即可立即使用。以下是代码示例: public class ActiveRecor...
QuerySet API reference When QuerySet s are evaluated Pickling QuerySet s QuerySet API Methods that return new QuerySet s filter() exclude() annotate() alias() order_by(...
The layout property The layout property Every file (first level) in the layouts directory will create a custom layout accessible with the layout property in the page component. ...
ORM Setup Create tables Define a Model class Relations Belongs-to relation One-to-many relation One-to-one relation Many-to-many relation ORM Queries Create new model inst...
QuerySet API reference When QuerySet s are evaluated Pickling QuerySet s QuerySet API Methods that return new QuerySet s filter() exclude() annotate() alias() order_by(...
QuerySet API reference When QuerySet s are evaluated Pickling QuerySet s QuerySet API Methods that return new QuerySet s filter() exclude() annotate() alias() order_by(...