You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read properties of undefined (reading 'hash')
💥 This is a nasty error, which was unexpected by pg-mem. Also known "a bug" 😁 Please file an issue !
Describe the bug
Executing
results in
The issue is here:
pg-mem/src/table.ts
Lines 593 to 598 in 8f84e85
If the column doesn't exist,
getter
and thereforekeys[I].value
is undefined which causescreateIndex
to fail.To Reproduce
Execute the query above.
pg-mem version
The text was updated successfully, but these errors were encountered: