mirror of
https://github.com/ent/ent.git
synced 2026-03-05 19:35:23 +03:00
entc/gen: add Exec and ExecX to Create builder (#1753)
This commit is contained in:
@@ -550,7 +550,7 @@ func (b *bytesBuilder) Optional() *bytesBuilder {
|
||||
}
|
||||
|
||||
// Unique makes the field unique within all vertices of this type.
|
||||
// Only supported in PostgresSQL.
|
||||
// Only supported in PostgreSQL.
|
||||
func (b *bytesBuilder) Unique() *bytesBuilder {
|
||||
b.desc.Unique = true
|
||||
return b
|
||||
|
||||
Reference in New Issue
Block a user