Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Correct docs in types.ex
  • Loading branch information
zorbash authored Dec 1, 2022
commit d910a3d072b920ad8b96ca071bf40e5d598a73d4
6 changes: 3 additions & 3 deletions lib/ecto/adapters/tds/types.ex
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ if Code.ensure_loaded?(Tds) do
An Tds adapter Ecto Type that wraps erlang string into tuple so TDS driver
can understand if erlang string should be encoded as NVarChar or Varchar.

Due some limitations in Ecto and Tds driver, it is not possible to
support collations other than the one that is set on connection during login.
Due to some limitations in Ecto and Tds driver, it is not possible to
support collations other than the one set on connection during login.
Please be aware of this limitation if you plan to store varchar values in
your database using Ecto since you will probably lose some codepoints in
the value during encoding. Instead use `tds_encoding` library and first
Expand All @@ -240,7 +240,7 @@ if Code.ensure_loaded?(Tds) do
use Ecto.Type

@typedoc """
A erlang string
An erlang string
"""
@type t :: String.t

Expand Down