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

增加replace的判断 #30

Closed
wants to merge 1 commit into from
Closed

Conversation

dionyang25
Copy link
Contributor

@dionyang25
Copy link
Contributor Author

fix issue 548

使用Db:query()执行replace 语句时,由于对sql type的错误判断 导致使用fetch去获取不存在的数据报错。导致getResult()未能执行

@dionyang25 dionyang25 closed this Jan 22, 2019
stelin added a commit that referenced this pull request Apr 12, 2019
add mysql schema data types
stelin pushed a commit that referenced this pull request Apr 12, 2019
6ea48c4 Merge pull request #72 from stelin/master
50c90ec Fix redis bug
bb6cd2d fix keyword bug
2f3781d add help
98bcf13 modify name
a54e1a2 Merge branch 'master' of https://github.com/swoft-cloud/swoft-component
d35ab46 Merge pull request #60 from DeivaLiang/patch-5
8267853 Merge pull request #61 from DeivaLiang/patch-6
afc4f0d Merge pull request #62 from DeivaLiang/patch-7
5f42ff1 Merge pull request #63 from DeivaLiang/patch-8
ed7665c 增加--instance参数,写入Entity(instance="xxx")
0fd4565 增加--instance参数,写入Entity(instance="xxx")
4654c79 增加--instance参数,写入Entity(instance="xxx")
f1fb985 增加--instance参数,写入Entity(instance="xxx")
cb36d20 增加--instance参数,写入Entity(instance="")
9f1c35c fix condtion bug
cd7b72e recover code
8bd051a Merge branch 'master' of https://github.com/swoft-cloud/swoft-component
e3a8e26 Merge pull request #56 from DeivaLiang/patch-3
cc2a8ed Merge pull request #55 from DeivaLiang/patch-2
3447a10 fix annotion bug
4a0b931 去掉支持$condition[] = ['col', 'val']这样的搜索条件
966e743 修正因Schema的定义变化了而没有同步至初始化默认值上
86f0d80 增加支持复合数据条件
b6db4bb 修正在多操作符条件(3个值模式)下不支持的Bug,添加LIKE,Not Like支持
8cd065e add gen entity to devtool
0771eb7 add collection and complete types
f4317ee add JsonSerializable
f1a2fa1 modify ci
062bd0c fix null
5351ce8 fix default bug
5db6917 format result type
8f97105 Merge branch 'master' of https://github.com/swoft-cloud/swoft-component
6e7ec09 fix id bug
011b8eb Merge branch 'master' of https://github.com/whiteCcinn/swoft-component
bf3549f fix some bug
3e32539 rm prepare
cac3074 fix join bug
c40f112 add prepare sql
5be185e rollback -delete :void
45e1f37 db:Specify the entity generation path
764b922 fix primary-key bug
3197416 Merge pull request #30 from luxin88/master
b88a6bb add data types
828db40 complete field
77ab285 modify attr type
caad178 Merge branch 'master' of https://github.com/swoft-cloud/swoft-component
d1a0cbf add like test
69347b5 Merge branch 'master' into master
a297421 fix some code
9fe4c43 entity-create-tool fix some bug
d853430 Merge branch 'master' into patch-3
5051a5d merge code
baf126d fix bug and add feature
40e568d Merge pull request #11 from luxin88/master
f693151 Merge pull request #7 from DeivaLiang/master
3c9a4d3 Update SetGetGenerator.php
a498cfe use Swoft\Helper\StringHelper::replaceFirst
e0c48e4 set default value when create entity
791c4b8 Merge pull request #8 from DeivaLiang/patch-1
e69e6b7 Merge branch 'master' into master
955925b add --remove-table-prefix option && fix some code
e33478a Update SetGetGenerator.php
6adcc22 Update EntityHelper.php
e218373 Update Model.php
30b0965 Update Model.php
81c4084 Update Model.php
22cec29 实体类查询的时候不支持字段为string然后NULL类型,查询的时候出现缺失字段
7c90f73 实体类toarray的时候缺失字段
fabce04 Update SetGetGenerator.php
4fb2711 Fix bug by return empty
cddd5c4 Update SetGetGenerator.php
d62bf15 修复生成实体中命名错误的问题
b7f2697 change decimal type to FLOAT
3e663a6 set default value on it's type when create entity
4b8b6b5 fix count bug by query
1703170 fix bug and add log
365abea rm code
e982f2e add one method

git-subtree-dir: src/db
git-subtree-split: 6ea48c4
stelin added a commit that referenced this pull request May 28, 2019
add mysql schema data types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant