youngkiu / schema-to-erd

Generate ERD UML file from Schema DDL file

Home Page:https://www.npmjs.com/package/schema-to-erd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Used a await schemaToErd?

dnfwlq8054 opened this issue · comments

commented

안녕하세요 벼리님.
export default async function schemaToErd 로 export 시켜주는데,

README를 보면 schemaToErd('./schema_samples/sakila-schema.sql'); 로 설명되어 있습니다.

async로 빼주니 await schemaToErd('./schema_samples/sakila-schema.sql');로 해줘야 하지 않나요??
FYI.
https://stackoverflow.com/questions/65589922/javascript-typescript-export-default-const-as-value-from-async-function-call