krofdrakula
krofdrakula
CDCloudflare Developers
Created by krofdrakula on 5/30/2024 in #analytics-engine
what are the datapoint write limits for CRON scheduled invocations in a worker?
ok, looks like the scheduled task also has a limit of 25 writes, and the function does throw when it hits the limit
3 replies
CDCloudflare Developers
Created by krofdrakula on 5/30/2024 in #analytics-engine
what are the datapoint write limits for CRON scheduled invocations in a worker?
also, if i do hit the datapoint write limit, will the function throw an error?
3 replies
CDCloudflare Developers
Created by krofdrakula on 5/30/2024 in #analytics-engine
what are the datapoint write limits for CRON scheduled invocations in a worker?
i'm not sure if AE limits differentiate between HTTP calls and scheduled calls coming from the internal CRON triggers — are the limits different or same?
3 replies
CDCloudflare Developers
Created by krofdrakula on 5/8/2024 in #d1-database
Can prepared statements bind arrays for `IN (?)`
'?'.repeat(status.size).split('').join(', ')
'?'.repeat(status.size).split('').join(', ')
it is then.
8 replies
CDCloudflare Developers
Created by krofdrakula on 5/8/2024 in #d1-database
Can prepared statements bind arrays for `IN (?)`
ok, thanks for that answer, it's exactly what i needed
8 replies
CDCloudflare Developers
Created by krofdrakula on 5/8/2024 in #d1-database
Can prepared statements bind arrays for `IN (?)`
well crap 😐
8 replies
CDCloudflare Developers
Created by krofdrakula on 5/8/2024 in #d1-database
Can prepared statements bind arrays for `IN (?)`
so the ? placeholder won't automatically expand the parameter into a list?
8 replies
CDCloudflare Developers
Created by krofdrakula on 5/8/2024 in #d1-database
Can prepared statements bind arrays for `IN (?)`
the alternative is to generate the SQL string and then spread into the bind() call, but was wondering if i could avoid that
8 replies