Skip to main content

database

column​

Description​

Method that generates random database column.

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.database.column());
    1. result
    'password'

type​

Description​

Method that generates random database type.

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.database.type());
    1. result
    'mediumint'

collation​

Description​

Method that generates random database collation.

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.database.collation());
    1. result
    'utf8_unicode_ci'

engine​

Description​

Method that generates random database engine.

Parameters​

NameTypeDescription
N/AN/AThis method doesn't receive any parameters

Returns​

  • <String>

Usage​

  1. Without passing parameters
    1. code
    console.log(pure.database.engine());
    1. result
    'InnoDB'