Skip to content

List Support for SQL IN Clause#433

Closed
Sung-Heon wants to merge 8 commits intojasync-sql:masterfrom
Sung-Heon:master
Closed

List Support for SQL IN Clause#433
Sung-Heon wants to merge 8 commits intojasync-sql:masterfrom
Sung-Heon:master

Conversation

@Sung-Heon
Copy link
Contributor

Description

This PR adds support for List encoding and resolves mapping issues when using ArrayList with SQL IN clauses.

Key Changes

Added ListEncoder Support in BinaryRowEncoder - Enables conversion of List types to MySQL length-encoded comma-separated strings
Created ListEncoder Tests - Comprehensive test suite verifying various list encoding scenarios (empty lists, single/multiple items, null filtering, etc.)
Implemented ArrayListInClause Tests - Demonstrates the issue with ArrayList in SQL IN clauses and provides two solutions:
Using correct SQL placeholders

Related Issue

#289

@Sung-Heon Sung-Heon closed this Jun 8, 2025
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