aboutsummaryrefslogtreecommitdiff
path: root/src/modules/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database')
-rw-r--r--src/modules/database/index.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/database/index.ts b/src/modules/database/index.ts
index 69e07315..87494315 100644
--- a/src/modules/database/index.ts
+++ b/src/modules/database/index.ts
@@ -19,6 +19,8 @@ export class Database {
*
* @example
* faker.database.column() // 'createdAt'
+ *
+ * @since 4.0.0
*/
column(): string {
return this.faker.helpers.arrayElement(
@@ -31,6 +33,8 @@ export class Database {
*
* @example
* faker.database.type() // 'timestamp'
+ *
+ * @since 4.0.0
*/
type(): string {
return this.faker.helpers.arrayElement(
@@ -43,6 +47,8 @@ export class Database {
*
* @example
* faker.database.collation() // 'utf8_unicode_ci'
+ *
+ * @since 4.0.0
*/
collation(): string {
return this.faker.helpers.arrayElement(
@@ -55,6 +61,8 @@ export class Database {
*
* @example
* faker.database.engine() // 'ARCHIVE'
+ *
+ * @since 4.0.0
*/
engine(): string {
return this.faker.helpers.arrayElement(
@@ -67,6 +75,8 @@ export class Database {
*
* @example
* faker.database.mongodbObjectId() // 'e175cac316a79afdd0ad3afb'
+ *
+ * @since 6.2.0
*/
mongodbObjectId(): string {
return this.faker.datatype.hexadecimal({