From d16e78e686bb74cf1e4cf631d567de581a315d6e Mon Sep 17 00:00:00 2001 From: Ariel Mashraki <7413593+a8m@users.noreply.github.com> Date: Wed, 9 Sep 2020 12:25:17 +0300 Subject: [PATCH] dialect/sql: add godoc regarding the dialect/sql package (#745) --- dialect/sql/builder.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dialect/sql/builder.go b/dialect/sql/builder.go index 12c81f76a..45bb8219f 100644 --- a/dialect/sql/builder.go +++ b/dialect/sql/builder.go @@ -2,6 +2,13 @@ // This source code is licensed under the Apache 2.0 license found // in the LICENSE file in the root directory of this source tree. +// Package sql provides wrappers around the standard database/sql package +// to allow the generated code to interact with a statically-typed API. +// +// Users that are interacting with this package should be aware that the +// following builders don't check the given SQL syntax nor validate or escape +// user-inputs. ~All validations are expected to be happened in the generated +// ent package. package sql import (