kysely icon indicating copy to clipboard operation
kysely copied to clipboard

suggestion: add isPartitionTable property in TableMetadata interface

Open hanjae-jea opened this issue 1 year ago • 1 comments

Hello.

I would like to distinguish between partitioned and non-partitioned tables in the kysely-codegen project. To do this, it is necessary to add an isPartitionTable property to TableMetadata ( https://github.com/kysely-org/kysely/blob/master/src/dialect/database-introspector.ts ).

I propose adding the isPartitionTable property to TableMetadata. Are there any concerns?

hanjae-jea avatar Jun 28 '24 11:06 hanjae-jea

Hey 👋

Can you explain how knowing this would affect types generated by kysely-codegen? Is there an existing issue/discussion on kysely-codegen side?

Main concern is, adding something for a niche use-case, that would make writing dialects more complex for everyone.

igalklebanov avatar Mar 16 '25 12:03 igalklebanov