reinaldyrfl
reinaldyrfl
Explore posts from servers
DTDrizzle Team
Created by reinaldyrfl on 4/9/2024 in #help
How do I execute raw query (with params already separated) with Drizzle?
What I've tried (and of course, this does not work):
// Remember that `query` is a `string` type
// and `params` is `unknown[]` type
const queryChunks: SQLChunk[] = [];
queryChunks.push(sql.raw(query));
for (const param of params) {
queryChunks.push(sql.param(param));
}

const output = await this.database.execute<{ id: bigint; }>(new SQL(queryChunks)));
// Remember that `query` is a `string` type
// and `params` is `unknown[]` type
const queryChunks: SQLChunk[] = [];
queryChunks.push(sql.raw(query));
for (const param of params) {
queryChunks.push(sql.param(param));
}

const output = await this.database.execute<{ id: bigint; }>(new SQL(queryChunks)));
4 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
No description
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
Thanks for the help @jIMMACLE
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
Yeah, my memory turns normal once I disabled Sentry's Profiling lol
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
I don't knokw what's EventMarker class is (on the top of the type)
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
This is the types view, how do I read this?
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
No description
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
Ah found it!
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
But I just can't find the types view
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
It's available on Linux as beta though
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
I still can't find the profiler types view, maybe that's only on Windows. I'm on Linux.
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
So assuming that, it means it's not something from MemoryCache being too large?
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
But anyway, how do I know that I hold references to these objects?
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
I can't find that menu :/
30 replies
CC#
Created by reinaldyrfl on 1/22/2024 in #help
✅ Growing memory issues for ASP.NET Core App
What's the name of this view?
30 replies
CC#
Created by reinaldyrfl on 12/29/2023 in #help
✅ Passing realtime data from Worker to ASP.NET Web API
Thank you for the guide!
6 replies
CC#
Created by reinaldyrfl on 12/29/2023 in #help
✅ Passing realtime data from Worker to ASP.NET Web API
Got it. I don't think this is possible before, was thinking of migrating to FASTER KV for Pub/Sub case.
6 replies
CC#
Created by reinaldyrfl on 10/13/2023 in #help
✅ How do you create custom authz/autho in ASP.NET Core?
Thank you so much!
21 replies
CC#
Created by reinaldyrfl on 10/13/2023 in #help
✅ How do you create custom authz/autho in ASP.NET Core?
So assuming I don't need to change my scheme name to anything else and just do authenticated access all the time, and you've said I'm on the right track.. then what other things that I need to know moving on?
21 replies
CC#
Created by reinaldyrfl on 10/13/2023 in #help
✅ How do you create custom authz/autho in ASP.NET Core?
Yes I know that I can just toggle app.Configuration.Environment condition, but this is something I'd like to try (if this is possible)
21 replies