# Getting information from the database

**URL:** https://meta.discourse.org/t/getting-information-from-the-database/50137
**Category:** Development
**Created:** [September 14, 2016, 11:42am UTC](https://meta.discourse.org/t/getting-information-from-the-database/50137 "2016-09-14T11:42:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Novice](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Novice](https://meta.discourse.org/u/Novice)
#### Post date: [September 14, 2016, 11:42am UTC](https://meta.discourse.org/t/getting-information-from-the-database/50137/1 "2016-09-14T11:42:35Z")

</div>

I am creating a plugin which requires the number of reads from a user’s posts. Is there a better way to do it than querying the database directly from the plugin?
