RubyGems Navigation menu

columns_on_demand 6.0.0

Lazily loads large columns on demand. By default, does this for all TEXT (:text) and BLOB (:binary) columns, but a list of specific columns to load on demand can be given. This is useful to reduce the memory taken by Rails when loading a number of records that have large columns if those particular columns are actually not required most of the time. In this situation it can also greatly reduce the database query time because loading large BLOB/TEXT columns generally means seeking to other database pages since they are not stored wholly in the record's page itself. Although this plugin is mainly used for BLOB and TEXT columns, it will actually work on all types - and is just as useful for large string fields etc.

Gemfile:
=

instalar:
=

Versões:

  1. 6.1.0 July 10, 2024 (13,5 KB)
  2. 6.0.0 November 12, 2020 (13,5 KB)
  3. 5.2.0 January 02, 2018 (13 KB)
  4. 5.1.2 January 02, 2018 (13 KB)
  5. 5.1.1 May 09, 2017 (13 KB)
Mostrar todas as versões (19)

Runtime Dependencies (1):

Development Dependencies (5):

byebug >= 0
mysql2 >= 0
pg >= 0
rake >= 0
sqlite3 >= 0

Donos:

Pushed by:

Autores:

  • Will Bryant

SHA 256 checksum:

=

Total de downloads 1.345.704

Desta versão 576.643

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: