Package | Description |
---|---|
cn.hutool.db.dialect |
数据库方言封装,包括数据库方言以及方言自动识别等
|
cn.hutool.db.sql |
SQL语句和Statement构建封装
|
Modifier and Type | Method and Description |
---|---|
static DialectName |
DialectName.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialectName[] |
DialectName.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SqlBuilder |
SqlBuilder.insert(Entity entity,
DialectName dialectName)
插入
插入会忽略空的字段名及其对应值,但是对于有字段名对应值为 null 的情况不忽略 |
Copyright © 2024. All rights reserved.