mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 05:23:18 +12:00
12 lines
321 B
Elixir
12 lines
321 B
Elixir
defmodule AshPostgres.Tsvector do
|
|
@moduledoc """
|
|
A thin wrapper around `:string` for working with tsvector types in calculations.
|
|
|
|
A calculation of this type cannot be selected, but may be used in calculations.
|
|
"""
|
|
|
|
use Ash.Type.NewType, subtype_of: :term
|
|
|
|
@impl true
|
|
def storage_type(_), do: :tsvector
|
|
end
|