Error: DataSource is not set for this entity. at Function.getRepository / 폴더구조에서 ** 과 * 의 뜻
Error: DataSource is not set for this entity. at Function.getRepository typeorm 에서 각 entity 들은 data source options 에 등록 되어있어야한다. entities: ["src/entities/*.ts"], 이렇게 해 주니까 잘 됐다. Entities - typeorm int, int2, int4, int8, smallint, integer, bigint, decimal, numeric, real, float, float4, float8, double precision, money, character varying, varchar, character, char, text, citext, hstore, bytea, bit, ..
2023. 7. 26.