×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: user3c9a7
Added: Jan 29, 2020 6:27 PM
Views: 4253
Tags: no tags
  1.     static checkTableName(tableName:string) {
  2.         if (tableName.match(/[^a-z]/)) {
  3.             throw new Error('invalid char in table name `' + tableName + '`.');
  4.         }
  5.     }