(Quick Reference) # 11.2.2 RxGORM Version: 3.2.8 ## 11.2.2 RxGORM RxGORM is new implementation of GORM that has the following goals: Reactive Non-blocking Stateless Simple RxGORM, unlike the Asynchronous GORM implementation, aims to be truly non-blocking, down to the driver level. The following is an example of RxGORM in action:
    Book.get(id)
        .subscribe { Book it ->
        println "Title = ${it.title}"
    }
You can combine RxGORM with the RxJava plugin to implement reactive responses from Grails controllers. For example:
    def show() {
            // returns an rx.Observable
        Book.get(params.id?.toString())
    }
For more information on how to use RxGORM, see the RxGORM user guide. | Quick Reference (hide)