-
Notifications
You must be signed in to change notification settings - Fork 1
createTable
Subhajit Sahu edited this page Feb 12, 2020
·
4 revisions
Generates SQL command for CREATE TABLE.
sql.createTable(name, columns, [options]);
// name: table name
// columns: columns {name: type}
// options: options {pk}
// .pk: primary key (null => none)const sql = require('extra-sql');
english.caverphonePhonetic('Lee');
// 'L11111'
english.caverphonePhonetic('Lue');
// 'L11111'
english.caverphonePhonetic('Thompson', true);
// 'TMPSN'