# Adding a method \`get\_like\` to PluginStore class

**URL:** <https://meta.discourse.org/t/adding-a-method-get-like-to-pluginstore-class/125026>\
**Category:** Development\
**Created:** [August 6, 2019, 6:12pm UTC](https://meta.discourse.org/t/adding-a-method-get-like-to-pluginstore-class/125026 "2019-08-06T18:12:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**Post date:** [August 6, 2019, 7:04pm UTC](https://meta.discourse.org/t/adding-a-method-get-like-to-pluginstore-class/125026/3 "2019-08-06T19:04:02Z")

</div>

I was working on this feature for the custom-wizards plugin and I wanted to fetch all the wizards.  
The key used is a string which is unique per wizard. This case was handled by fetching all the rows for the plugin and filtering them based on a for the `value` which is fine for small number of records but not ideal for a big plugin. It looks like plugin\_store\_rows is meant to store `settings-like` data for the plugin.

I personally think, this would open the idea of storing `non-settings` like data in the plugin\_store\_rows table.

(Forgive me if it sounds strange)

---

_[View the full topic](https://meta.discourse.org/t/adding-a-method-get-like-to-pluginstore-class/125026)._
