to select ↑↓ to navigate
Framework v13 user en

Framework v13 user en

A Single DocType is a DocType that has only one instance in the database. It is useful for persisting things like System Settings, which don't make sense to have multiple records.

Single DocType

>>> settings = frappe.get_doc('System Settings')
>>> settings.notification_frequency
'Daily'

Schema

Single DocTypes are stored in the tabSingles table in the database, with each property having its own record.

Columns:

  • doctype
  • field
  • value
Last updated 18 hours ago

Was this page helpful?