Apidog Docs
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
HomeLearning CenterSupport CenterAPI References
HomeLearning CenterSupport CenterAPI References
Discord Community
Slack Community
X / Twitter
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
  1. Learning Center
  • Back to home
  • Dynamic values Modules
  • Airline
  • Animal
  • Color
  • Commerce
  • Company
  • Database
  • Datatype
  • Date
  • Finance
  • Food
  • Git
  • Hacker
  • Helpers
  • Image
  • Internet
  • Location
  • Lorem
  • Music
  • Number
  • Person
  • Phone
  • Science
  • String
  • System
  • Vehicle
  • Word
  1. Learning Center

Database

Module to generate database related entries.
Overview
Traditional relational database tables have data organized in columns with specific types - column(), type(). The database usually has an engine() and a default collation() for sorting.
For the NoSQL database MongoDB, mongodbObjectId() provides a random ID.

collation#

Returns a random database collation.
Returns: string
Examples

column#

Returns a random database column name.
Returns: string
Examples

mongodbObjectId#

Returns a MongoDB ObjectId string.
Returns: string
Examples

type#

Returns a random database column type.
Returns: string
Examples

Previous
Company
Next
Datatype
Built with