Skip to content

Refactor and Update for Compatibility with Exposed 0.54.0 and Kotlin JVM 2.0.0 - #639

Open
sebai-dhia wants to merge 9 commits into
masterfrom
galite-02EM
Open

Refactor and Update for Compatibility with Exposed 0.54.0 and Kotlin JVM 2.0.0#639
sebai-dhia wants to merge 9 commits into
masterfrom
galite-02EM

Conversation

@sebai-dhia

@sebai-dhia sebai-dhia commented Sep 26, 2024

Copy link
Copy Markdown
Contributor

This pull request introduces several updates to ensure compatibility with Exposed 0.54.0 and Kotlin JVM 2.0.0. The changes include:

  • Refactored query syntax, replacing slice(colonnes).select { conditions } with select(colonnes).where { conditions }, and updating selectAll() to align with select * in SQL, offering a more intuitive experience for PostgreSQL users.
  • The .join method now accepts a new lateral boolean parameter, which allows for more flexible lateral joins.
  • Updated connection parameters, such as renaming defaultRepetitionAttempts to defaultMaxAttempts, ensuring proper connection handling.
  • Improved type safety by utilizing generics in column definitions, specifically moving from ColumnType() to ColumnType().

Additionally, necessary adjustments were made for Kotlin JVM 2.0.0 compatibility, including variable structure changes and type casting

@sebai-dhia
sebai-dhia requested a review from mgrati September 26, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant