文件名称:mongoid_includes::herb:改进了对Mongoid的热切支持
文件大小:33KB
文件格式:ZIP
更新时间:2024-02-26 10:03:51
ruby rails mongoid eager-loading performance
Mongoid ::包含 Mongoid::Includes改善Mongoid::Includes渴望加载,支持多态关联和嵌套的渴望加载。 用法 Album . includes ( :songs ) . includes ( :musicians , from : :band ) Band . includes ( :albums , with : -> ( albums ) { albums . gt ( release : 1970 ) } ) # The library supports nested eager loading using :from for terseness,
【文件预览】:
mongoid_includes-master
----.gitignore(55B)
----.codeclimate.yml(162B)
----.rspec(26B)
----gemfiles()
--------mongoid7.gemfile.lock(2KB)
--------mongoid7.gemfile(216B)
--------.bundle()
----bin()
--------rspec(795B)
----.travis.yml(900B)
----mongoid_includes.gemspec(931B)
----CHANGELOG.md(2KB)
----LICENSE.txt(1KB)
----spec()
--------support()
--------spec_helper.rb(1KB)
--------mongoid()
----README.md(3KB)
----lib()
--------mongoid_includes.rb(470B)
--------config()
--------mongoid()
----Gemfile(205B)
----.bundle()
--------config(34B)
----Rakefile(810B)
----Gemfile.lock(2KB)