Skip to content

Grails4.0.1 domain.findAll() and domain.list() don't work #7

Open
@zhangjiayu139

Description

@zhangjiayu139

domain.list(),domain.findAll() don't work

my code :

1、build.gradle
compile 'org.grails.plugins:gorm-logical-delete:2.0.0.M2'
2、domain class
class Demo implements Serializable, LogicalDelete<Demo> { String demo static constraints = { } }
3、controller
def index() { render Demo.list() as JSON }

4、run result
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions