We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AshPostgres.Tsvector
1 parent b35f8c7 commit 81ce903Copy full SHA for 81ce903
lib/types/tsvector.ex
@@ -0,0 +1,12 @@
1
+defmodule AshPostgres.Tsvector do
2
+ @moduledoc """
3
+ A thin wrapper around `:string` for working with tsvector types in calculations.
4
+
5
+ A calculation of this type cannot be selected, but may be used in calculations.
6
+ """
7
8
+ use Ash.Type.NewType, subtype_of: :term
9
10
+ @impl true
11
+ def storage_type(_), do: :tsvector
12
+end
0 commit comments