dotnetcore / dotnetcore/FreeSql

PGSQL 16.8下的a.Contains("CM")解析的sql里面不是ilike '%CM%',而是like

Open
#2,253 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.4k
Forks
910
PR merge metrics
No merged PRs in 30d

Description

#### 问题描述及重现代码:

```c#
// c# code
```

#### 数据库版本
PGSQL 16.8

#### 安装的Nuget包
3.5.305

#### .net framework/. net core? 及具体版本
net8

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by creating a minimal reproduction for a.Contains("CM") using FreeSql 3.5.305, PostgreSQL 16.8, and .NET 8, then capture the generated SQL. Compare the output with the expected ILIKE '%CM%' behavior; done means the translation is covered by a reproducible test and produces the intended SQL.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, postgresql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.