Skip to content

数据库操作 + - 不支持浮点数操作 #128

Description

@3DMXM

如果使用的话,
$result = $this->testDAO->update(['type'=>['+'=>1.3]]);

结果好像会被会被取整

数据库的类型已经设置成double了

直接赋予一个浮点数没有问题,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions