From 99d237ff98e236ba42d069939ee4e05c23dbd376 Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Sun, 25 Oct 2020 20:53:40 +0300 Subject: [PATCH] doc: replace CreateX reference to SaveX (#882) --- doc/md/schema-edges.md | 2 +- examples/README.md | 2 +- examples/o2mrecur/example_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/md/schema-edges.md b/doc/md/schema-edges.md index ab81ad6a9..bbb65969a 100755 --- a/doc/md/schema-edges.md +++ b/doc/md/schema-edges.md @@ -563,7 +563,7 @@ func Do(ctx context.Context, client *ent.Client) error { // / \ // 3 5 // - // Unlike `Create`, `CreateX` panics if an error occurs. + // Unlike `Save`, `SaveX` panics if an error occurs. n1 := client.Node. Create(). SetValue(1). diff --git a/examples/README.md b/examples/README.md index c4207258e..8b614ea99 100644 --- a/examples/README.md +++ b/examples/README.md @@ -615,7 +615,7 @@ func Do(ctx context.Context, client *ent.Client) error { // / \ // 3 5 // - // Unlike `Create`, `CreateX` panics if an error occurs. + // Unlike `Save`, `SaveX` panics if an error occurs. n1 := client.Node. Create(). SetValue(1). diff --git a/examples/o2mrecur/example_test.go b/examples/o2mrecur/example_test.go index 0baf8c082..9798a075d 100644 --- a/examples/o2mrecur/example_test.go +++ b/examples/o2mrecur/example_test.go @@ -53,7 +53,7 @@ func Do(ctx context.Context, client *ent.Client) error { // 3 5 // - // Unlike `Create`, `CreateX` panics if an error occurs. + // Unlike `Save`, `SaveX` panics if an error occurs. n1 := client.Node. Create(). SetValue(1).