kysely-org / kysely

A type-safe typescript SQL query builder
https://kysely.dev
MIT License
9.81k stars 249 forks source link

suggestion: add isPartitionTable property in TableMetadata interface #1065

Open hanjae-jea opened 1 week ago

hanjae-jea commented 1 week ago

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?