【问题标题】:how to retrieve data from mongoDb using grails 2.2.2如何使用 grails 2.2.2 从 mongoDb 检索数据
【发布时间】:2013-05-22 06:26:05
【问题描述】:

我正在 grails 2.2.2 和 mongoDb 中开发我的第一个应用程序。 但我被困在 “如何从 mongoDb 获取数据并在 .gsp 页面中显示”

【问题讨论】:

    标签: mongodb grails grails-2.0 grails-domain-class


    【解决方案1】:

    如果您在应用中使用MongoDB plugin,则使用Get StartMap Domain Classes to Mongo Collections。完成映射后,您可以在Views and Templates 中使用controllersrender the mapped Mongo collection

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-05-16
      • 1970-01-01
      • 1970-01-01
      • 2020-03-19
      • 2020-09-18
      • 2021-02-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多