Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

sebai-dhia
Copy link
Contributor

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

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

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