rdobovic
rdobovic
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by rdobovic on 9/24/2024 in #djs-questions
Bulk role add/remove
Again thank you for your time
12 replies
DIAdiscord.js - Imagine an app
Created by rdobovic on 9/24/2024 in #djs-questions
Bulk role add/remove
It's a shame that there is no discord API route that can be used to assign a role to multiple users at once
12 replies
DIAdiscord.js - Imagine an app
Created by rdobovic on 9/24/2024 in #djs-questions
Bulk role add/remove
Aha, sorry for my late response, thank you for your answer. In that case spacing requests seems like the only option (at least in my case).
12 replies
DIAdiscord.js - Imagine an app
Created by rdobovic on 9/24/2024 in #djs-questions
Bulk role add/remove
Hmm, what do you mean by everyone role?
12 replies
DTDrizzle Team
Created by rdobovic on 9/18/2024 in #help
DrizzleORM with JSDoc (insert problem)
Ok I managed to find the solution, when I added "strict": true to my jsconfig.json file it worked
4 replies
DTDrizzle Team
Created by rdobovic on 9/18/2024 in #help
DrizzleORM with JSDoc (insert problem)
No description
4 replies
DTDrizzle Team
Created by rdobovic on 9/18/2024 in #help
DrizzleORM with JSDoc (insert problem)
Here is the full error:
No overload matches this call.
Overload 1 of 2, '(value: { id: string | SQL<unknown> | Placeholder<string, any>; }): MySqlInsertBase<MySqlTableWithColumns<{ name: "guilds"; schema: undefined; columns: { id: MySqlColumn<{ name: "guild_id"; tableName: "guilds"; dataType: "string"; ... 10 more ...; generated: GeneratedColumnConfig<...>; }, object>; whitelisted: MySqlColumn<...>; verifiedRoleId: MySqlColumn<...>; unverifiedRoleId: MySqlColumn<...>; }; dialect: "mysql"; }>, ... 4 more ..., never>', gave the following error.
Object literal may only specify known properties, and 'whitelisted' does not exist in type '{ id: string | SQL<unknown> | Placeholder<string, any>; }'.
Overload 2 of 2, '(values: { id: string | SQL<unknown> | Placeholder<string, any>; }[]): MySqlInsertBase<MySqlTableWithColumns<{ name: "guilds"; schema: undefined; columns: { id: MySqlColumn<{ name: "guild_id"; tableName: "guilds"; dataType: "string"; ... 10 more ...; generated: GeneratedColumnConfig<...>; }, object>; whitelisted: MySqlColumn<...>; verifiedRoleId: MySqlColumn<...>; unverifiedRoleId: MySqlColumn<...>; }; dialect: "mysql"; }>, ... 4 more ..., never>', gave the following error.
Object literal may only specify known properties, and 'id' does not exist in type '{ id: string | SQL<unknown> | Placeholder<string, any>; }[]'.ts(2769)
No overload matches this call.
Overload 1 of 2, '(value: { id: string | SQL<unknown> | Placeholder<string, any>; }): MySqlInsertBase<MySqlTableWithColumns<{ name: "guilds"; schema: undefined; columns: { id: MySqlColumn<{ name: "guild_id"; tableName: "guilds"; dataType: "string"; ... 10 more ...; generated: GeneratedColumnConfig<...>; }, object>; whitelisted: MySqlColumn<...>; verifiedRoleId: MySqlColumn<...>; unverifiedRoleId: MySqlColumn<...>; }; dialect: "mysql"; }>, ... 4 more ..., never>', gave the following error.
Object literal may only specify known properties, and 'whitelisted' does not exist in type '{ id: string | SQL<unknown> | Placeholder<string, any>; }'.
Overload 2 of 2, '(values: { id: string | SQL<unknown> | Placeholder<string, any>; }[]): MySqlInsertBase<MySqlTableWithColumns<{ name: "guilds"; schema: undefined; columns: { id: MySqlColumn<{ name: "guild_id"; tableName: "guilds"; dataType: "string"; ... 10 more ...; generated: GeneratedColumnConfig<...>; }, object>; whitelisted: MySqlColumn<...>; verifiedRoleId: MySqlColumn<...>; unverifiedRoleId: MySqlColumn<...>; }; dialect: "mysql"; }>, ... 4 more ..., never>', gave the following error.
Object literal may only specify known properties, and 'id' does not exist in type '{ id: string | SQL<unknown> | Placeholder<string, any>; }[]'.ts(2769)
4 replies
DTDrizzle Team
Created by rdobovic on 8/12/2024 in #help
Recursive CTEs
Ok, thank you for your response, I will look into it.
3 replies