Open baumerdev opened 1 year ago
According to the type definitions the hasColumn should return a Promise with boolean
hasColumn(table: string, column: string): Promise<boolean>;
It seems that all other dialects have this implemented the right way and only hasColumn for PostgreSQL returned an empty array when it should return false and an array with an object when it should return true.
This PR fixes that.
According to the type definitions the hasColumn should return a Promise with boolean
It seems that all other dialects have this implemented the right way and only hasColumn for PostgreSQL returned an empty array when it should return false and an array with an object when it should return true.
This PR fixes that.