MCPcopy
hub / github.com/faker-js/faker / collation

Method collation

src/modules/database/index.ts:49–53  ·  view source on GitHub ↗

* Returns a random database collation. * * @example * faker.database.collation() // 'utf8_unicode_ci' * * @since 4.0.0

()

Source from the content-addressed store, hash-verified

47 * @since 4.0.0
48 */
49 collation(): string {
50 return this.faker.helpers.arrayElement(
51 this.faker.definitions.database.collation
52 );
53 }
54
55 /**
56 * Returns a random database engine.

Callers 1

database.spec.tsFile · 0.80

Calls 1

arrayElementMethod · 0.80

Tested by

no test coverage detected