schema-to-erd
schema-to-erd copied to clipboard
Used a await schemaToErd?
안녕하세요 벼리님.
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
entry 화일은 https://github.com/youngkiu/schema-to-erd/blob/main/src/main.js 예요.