How to use the TinyInt function from mssql

Find comprehensive JavaScript mssql.TinyInt code examples handpicked from public code repositorys.

135
136
137
138
139
140
141
142
143
144
#getParamProcedureType = (typeName) => {
    let type = null;
    
    switch (typeName.toLocaleLowerCase()) {            
        case 'tinyint':
            type = mssql.TinyInt;
            
            break;
        case 'smallint':
            type = mssql.SmallInt;
fork icon6
star icon6
watch icon1

26
27
28
29
30
31
32
33
34
35
    }
  }
};

const Bit = sql.Bit;
const TinyInt = sql.TinyInt;
const SmallInt = sql.SmallInt;
const Int = sql.Int;
const BigInt = sql.BigInt;
const Varchar = (length) => sql.VarChar(length);
fork icon0
star icon4
watch icon2

+ 3 other calls in file