wrt D1 in South America - we’re working on it.
wrt D1 in South America - we’re working on it.
backup imports don't count as writesD1's beta backend doesn't have backup imports - you can write to the DB, and you're billed as a write.
Expression tree is too large (maximum depth 20) for some queries. Those are not particularly complex, it's just like get x -> join this field -> join this field, so I'd guess this would be the depth 2 or 3?SQLITE_LIMIT_EXPR_DEPTH set to 20 on the new backend.alpha backend - try running wrangler d1 info <dbname>EXPLAIN QUERY PLAN which should tell you the actual expression depth of your query.wrangler d1 info <dbname> without the databasedb.query.[....]) only with the ones that start differently const teamArticles = await db.query.articles.findMany({
where: ownerOrInTeam(articles.userId, authUser), // this is one equality check
with: {
pineconeReferences: true,
outlineDrafts: { // if I do outlineDrafts: true, I am not over 20 anymore
with: { // this seems to be the edge at which it goes over 20 seemingly
draftPieces: true
}
}
}
});SQLITE_LIMIT_EXPR_DEPTH20EXPLAIN QUERY PLANtoSQL();db.query.[....]