Erkoze
Erkoze
Explore posts from servers
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
And it works now)
10 replies
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
I used:
const select: TMessageFindByIdSelect = getTableColumns(messages);

const query = db.select(select)
...
const select: TMessageFindByIdSelect = getTableColumns(messages);

const query = db.select(select)
...
//FIX THIS LINE:
const select: TMessageFindByIdSelect = getTableColumns(messages); //DELETE

//TO:
const select: TMessageFindByIdSelect = {
...getTableColumns(messages)
};
//FIX THIS LINE:
const select: TMessageFindByIdSelect = getTableColumns(messages); //DELETE

//TO:
const select: TMessageFindByIdSelect = {
...getTableColumns(messages)
};
10 replies
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
If anyone else encounters such an error
10 replies
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
Hello everyone
10 replies
PPrisma
Created by Erkoze on 1/3/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection
Hello. I use not latest prisma version, i will try updating later. $disconnect i use onModuleDestroy in nest.js
10 replies
PPrisma
Created by Erkoze on 1/3/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection
Maybe its a reason why i see error from prisma because there are many idle connections? I think prisma should close connections created using queryRaw
10 replies
PPrisma
Created by Erkoze on 1/3/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection
No description
10 replies
PPrisma
Created by Erkoze on 1/3/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection
i will see many connections created using prisma queryRaw and their state are idle
10 replies
PPrisma
Created by Erkoze on 1/3/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection
If i will run SELECT * FROM pg_stat_activity in postgres (from DBeaver)
10 replies
PPrisma
Created by Erkoze on 1/3/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection
Commonly see that error, it breaks API work every time this error occure
10 replies
PPrisma
Created by Erkoze on 1/3/2025 in #help-and-questions
Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection
(Current connection pool timeout: 10, connection limit: 140)
10 replies
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
i deleted new relation field after this error occured, but problem is still exist and i don't know what i can do...
10 replies
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
I also updated drizzle packages to latest versions
10 replies
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
It worked before, but after i add new field to messages, i can't
10 replies
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
await this._drizzleService.db.insert(messages).values({
chatId: '0193ecd7-1385-5e5a-b722-83998e15a998',
content: 'Hello its a test',
authorId: 1
});
await this._drizzleService.db.insert(messages).values({
chatId: '0193ecd7-1385-5e5a-b722-83998e15a998',
content: 'Hello its a test',
authorId: 1
});
10 replies
DTDrizzle Team
Created by Erkoze on 1/2/2025 in #help
TypeError: col.shouldDisableInsert is not a function
I see TypeError: col.shouldDisableInsert is not a function every time i tried to insert a record to db
10 replies