* Returns a random database collation. * * @example * faker.database.collation() // 'utf8_unicode_ci' * * @since 4.0.0
()
| 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. |
no test coverage detected