UNPKG

@wbce-d9/schema

Version:

Utility for extracting information about existing DB schema

6 lines (5 loc) 168 B
/** * Extracts the length value out of a given datatype * For example: `varchar(32)` => 32 */ export default function extractMaxLength(type: string): null | number;