Edit this page

Methods

Keystone has a number of methods available to it to help you out. Each of these are documented here, and can be accessed off the keystone object. Note that keystone stores a single global state, so methods such as the set method apply globally off keystone.

In addition to these methods, there are several constructors and more complex features accessible through keystone.

  • new keystone.List - used to register new lists to your database schema.
  • Field Types - used in constructing lists, this details the field types keystone makes available to make shaping and displaying your data easy.
  • new keystone.View - used to create new views which have specific logic that is easy to parse and share between views.

You can access keystone’s inherent mongoose instance on keystone.mongoose. You can access keystone’s inherent express on keystone.express. If you need to access properties on either directly, you can fin them here.