File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -239,10 +239,6 @@ defmodule AshPostgres.SqlImplementation do
239239 do: nil
240240
241241 def parameterized_type ( type , constraints , no_maps? ) do
242- if type == :array do
243- raise "WHAT"
244- end
245-
246242 if Ash.Type . ash_type? ( type ) do
247243 cast_in_query? =
248244 if function_exported? ( Ash.Type , :cast_in_query? , 2 ) do
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ defmodule AshPostgres.Ltree do
55 doc: """
66 Escape the ltree segments to make it possible to include characters that
77 are either `.` (the separation character) or any other unsupported
8- character like `-` (Postgres <= 15).
9-
8+ character like `-` (Postgres <= 15).
9+
1010 If the option is enabled, any characters besides `[0-9a-zA-Z]` will be
11- replaced with `_[HEX Ascii Code]`.
12-
11+ replaced with `_[HEX Ascii Code]`.
12+
1313 Additionally the type will no longer take strings as user input since
1414 it's impossible to decide between `.` being a separator or part of a
15- segment.
16-
15+ segment.
16+
1717 If the option is disabled, any string will be relayed directly to
1818 postgres. If the segments are provided as a list, they can't contain `.`
1919 since postgres would split the segment.
You can’t perform that action at this time.
0 commit comments