Dylel
Dylel
Explore posts from servers
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
i have the check expression selected at the bottom
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
i think its just the typescript error that i have with the self referencing cte, which is valid sql just not valid kysely/type syntax
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
No description
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
seems to be fine in the playground
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
ty
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
thats better, it actually resolves now
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
Previously this quey would just error, but it just hangs typescript completely now
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
would this create a circular reference? new version blows up my typescript completely // Recursive CTE to get all parent tasks .with("ParentHierarchy", (qb) => qb .selectFrom("UserTasks") .selectAll() .unionAll( qb .selectFrom("tools.Task as t") .innerJoin("ParentHierarchy as ph", "ph.ParentTaskId", "t.TaskId") .selectAll("t"), ), )
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
appreciate the quick response 🙂
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
yeah i went into the directory and run npm run build, but typescript still couldn't find it. But yeah makes sense
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
yeah that got it, noice! thanks for that
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
i think this is to do with the tarball, i tried installing from the pull request as i've had success with that before but didn't help
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
no dist folder in kysely after install
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
No description
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
Im using "pnpm add https://github.com/kysely-org/kysely#v0.28" to add it, ends up in package.json as "kysely": "github:kysely-org/kysely#v0.28",
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
No description
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
its using 5.5.4 too
36 replies
KKysely
Created by Dylel on 12/10/2024 in #help
V0.28 Type Issues
"typescript": "5.5.4", tried upgrading to latest too but that didnt seem to help
36 replies
KKysely
Created by Dylel on 8/13/2023 in #help
Kysely Geometry Parsing Plugin - Convert driver values to/from geojson
Yeah i realise that kyseley isn't an orm. I was basically just trying to figure out where this logic should actually live, as i just want to use kyseley without having to invoc functions all the time, more of a set and forget. Thanks for the clarification that this should primarily be a driver concern, unfortunately igal couldn't use node-mssql, and used tedious + tarn for pooling and I don't think tedious has way to hook into the conversion but i'll look into that some more
4 replies