entc/gen: move builder naming to Go api (#653)

Fixed #652
This commit is contained in:
Ariel Mashraki
2020-08-01 18:43:39 +03:00
committed by GitHub
parent 05dfd6b78b
commit ebfc1a4f36
30 changed files with 131 additions and 101 deletions

View File

@@ -185,7 +185,7 @@ func (c *NodeClient) DeleteOneID(id int) *NodeDeleteOne {
return &NodeDeleteOne{builder}
}
// Create returns a query builder for Node.
// Query returns a query builder for Node.
func (c *NodeClient) Query() *NodeQuery {
return &NodeQuery{config: c.config}
}