Google Search MCP Server
by Claw256
[](https://github.com/ash-project/ash_csv)
[ash\_csv](https://github.com/ash-project/ash_csv)
v0.9.7
- Pages
- Modules
<!--THE END-->
<!--THE END-->
Search documentation of ash\_csv
Settings
# [View Source](https://github.com/ash-project/ash_csv "View Source") API Reference ash\_csv v0.9.7
## [](api-reference.html#modules)Modules
[AshCsv](AshCsv.html)
A CSV datalayer for the Ash framework
[AshCsv.DataLayer](AshCsv.DataLayer.html)
The data layer implementation for AshCsv
[AshCsv.DataLayer.Info](AshCsv.DataLayer.Info.html)
Introspection helpers for AshCsv.DataLayer
[Next Page → Home](readme.html)
[Hex Package](https://hex.pm/packages/ash_csv/0.9.7) [Hex Preview](https://preview.hex.pm/preview/ash_csv/0.9.7) Search HexDocs [Download ePub version](ash_csv.epub "ePub version")
Built using [ExDoc](https://github.com/elixir-lang/ex_doc "ExDoc") (v0.31.2) for the [Elixir programming language](https://elixir-lang.org "Elixir")
[](https://github.com/ash-project/ash_csv)
[ash\_csv](https://github.com/ash-project/ash_csv)
v0.9.7
- Pages
- Modules
<!--THE END-->
<!--THE END-->
Search documentation of ash\_csv
Settings
# [View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/data_layer.ex#L1 "View Source") AshCsv.DataLayer (ash\_csv v0.9.7)
The data layer implementation for AshCsv
# [](AshCsv.DataLayer.html#summary)Summary
## [Functions](AshCsv.DataLayer.html#functions)
[columns(resource)](AshCsv.DataLayer.html#columns/1) deprecated
See [`AshCsv.DataLayer.Info.columns/1`](AshCsv.DataLayer.Info.html#columns/1).
[create?(resource)](AshCsv.DataLayer.html#create?/1) deprecated
See [`AshCsv.DataLayer.Info.create?/1`](AshCsv.DataLayer.Info.html#create?/1).
[file(resource)](AshCsv.DataLayer.html#file/1) deprecated
See [`AshCsv.DataLayer.Info.file/1`](AshCsv.DataLayer.Info.html#file/1).
[filter\_matches(records, filter, domain)](AshCsv.DataLayer.html#filter_matches/3)
[header?(resource)](AshCsv.DataLayer.html#header?/1) deprecated
See [`AshCsv.DataLayer.Info.header?/1`](AshCsv.DataLayer.Info.html#header?/1).
[separator(resource)](AshCsv.DataLayer.html#separator/1) deprecated
See [`AshCsv.DataLayer.Info.separator/1`](AshCsv.DataLayer.Info.html#separator/1).
# [](AshCsv.DataLayer.html#functions)Functions
[Link to this function](AshCsv.DataLayer.html#columns/1 "Link to this function")
# columns(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/data_layer.ex#L73 "View Source")
This function is deprecated. See \`AshCsv.DataLayer.Info.columns/1.
See [`AshCsv.DataLayer.Info.columns/1`](AshCsv.DataLayer.Info.html#columns/1).
[Link to this function](AshCsv.DataLayer.html#create?/1 "Link to this function")
# create?(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/data_layer.ex#L82 "View Source")
This function is deprecated. See \`AshCsv.DataLayer.Info.create?/1.
See [`AshCsv.DataLayer.Info.create?/1`](AshCsv.DataLayer.Info.html#create?/1).
[Link to this function](AshCsv.DataLayer.html#file/1 "Link to this function")
# file(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/data_layer.ex#L70 "View Source")
This function is deprecated. See \`AshCsv.DataLayer.Info.file/1.
See [`AshCsv.DataLayer.Info.file/1`](AshCsv.DataLayer.Info.html#file/1).
[Link to this function](AshCsv.DataLayer.html#filter_matches/3 "Link to this function")
# filter\_matches(records, filter, domain)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/data_layer.ex#L397 "View Source")
[Link to this function](AshCsv.DataLayer.html#header?/1 "Link to this function")
# header?(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/data_layer.ex#L79 "View Source")
This function is deprecated. See \`AshCsv.DataLayer.Info.header?/1.
See [`AshCsv.DataLayer.Info.header?/1`](AshCsv.DataLayer.Info.html#header?/1).
[Link to this function](AshCsv.DataLayer.html#separator/1 "Link to this function")
# separator(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/data_layer.ex#L76 "View Source")
This function is deprecated. See \`AshCsv.DataLayer.Info.separator/1.
See [`AshCsv.DataLayer.Info.separator/1`](AshCsv.DataLayer.Info.html#separator/1).
[Hex Package](https://hex.pm/packages/ash_csv/0.9.7) [Hex Preview](https://preview.hex.pm/preview/ash_csv/0.9.7) Search HexDocs [Download ePub version](ash_csv.epub "ePub version")
Built using [ExDoc](https://github.com/elixir-lang/ex_doc "ExDoc") (v0.31.2) for the [Elixir programming language](https://elixir-lang.org "Elixir")
[](https://github.com/ash-project/ash_csv)
[ash\_csv](https://github.com/ash-project/ash_csv)
v0.9.7
- Pages
- Modules
<!--THE END-->
<!--THE END-->
Search documentation of ash\_csv
Settings
# [View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/info.ex#L1 "View Source") AshCsv.DataLayer.Info (ash\_csv v0.9.7)
Introspection helpers for AshCsv.DataLayer
# [](AshCsv.DataLayer.Info.html#summary)Summary
## [Functions](AshCsv.DataLayer.Info.html#functions)
[columns(resource)](AshCsv.DataLayer.Info.html#columns/1)
[create?(resource)](AshCsv.DataLayer.Info.html#create?/1)
[file(resource)](AshCsv.DataLayer.Info.html#file/1)
[header?(resource)](AshCsv.DataLayer.Info.html#header?/1)
[separator(resource)](AshCsv.DataLayer.Info.html#separator/1)
# [](AshCsv.DataLayer.Info.html#functions)Functions
[Link to this function](AshCsv.DataLayer.Info.html#columns/1 "Link to this function")
# columns(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/info.ex#L12 "View Source")
[Link to this function](AshCsv.DataLayer.Info.html#create?/1 "Link to this function")
# create?(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/info.ex#L24 "View Source")
[Link to this function](AshCsv.DataLayer.Info.html#file/1 "Link to this function")
# file(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/info.ex#L6 "View Source")
[Link to this function](AshCsv.DataLayer.Info.html#header?/1 "Link to this function")
# header?(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/info.ex#L20 "View Source")
[Link to this function](AshCsv.DataLayer.Info.html#separator/1 "Link to this function")
# separator(resource)
[View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv/info.ex#L16 "View Source")
[Hex Package](https://hex.pm/packages/ash_csv/0.9.7) [Hex Preview](https://preview.hex.pm/preview/ash_csv/0.9.7) Search HexDocs [Download ePub version](ash_csv.epub "ePub version")
Built using [ExDoc](https://github.com/elixir-lang/ex_doc "ExDoc") (v0.31.2) for the [Elixir programming language](https://elixir-lang.org "Elixir")
[](https://github.com/ash-project/ash_csv)
[ash\_csv](https://github.com/ash-project/ash_csv)
v0.9.7
- Pages
- Modules
<!--THE END-->
<!--THE END-->
Search documentation of ash\_csv
Settings
# [View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/lib/ash_csv.ex#L1 "View Source") AshCsv (ash\_csv v0.9.7)
A CSV datalayer for the Ash framework
For DSL documentation, see [`AshCsv.DataLayer`](AshCsv.DataLayer.html)
[Hex Package](https://hex.pm/packages/ash_csv/0.9.7) [Hex Preview](https://preview.hex.pm/preview/ash_csv/0.9.7) Search HexDocs [Download ePub version](ash_csv.epub "ePub version")
Built using [ExDoc](https://github.com/elixir-lang/ex_doc "ExDoc") (v0.31.2) for the [Elixir programming language](https://elixir-lang.org "Elixir")
[](https://github.com/ash-project/ash_csv)
[ash\_csv](https://github.com/ash-project/ash_csv)
v0.9.7
- Pages
- Modules
<!--THE END-->
<!--THE END-->
Search documentation of ash\_csv
Settings
# [View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/documentation/dsls/DSL:-AshCsv.DataLayer.md#L1 "View Source") DSL: AshCsv.DataLayer
The data layer implementation for AshCsv
## [](dsl-ashcsv-datalayer.html#csv)csv
### [](dsl-ashcsv-datalayer.html#examples)Examples
```
csv do
file "priv/data/tags.csv"
create? true
header? true
separator '-'
columns [:id, :name]
end
```
### [](dsl-ashcsv-datalayer.html#options)Options
NameTypeDefaultDocs[`file`](dsl-ashcsv-datalayer.html#csv-file)`String.t`The file to read the data from[`create?`](dsl-ashcsv-datalayer.html#csv-create?)`boolean``false`Whether or not the file should be created if it does not exist (this will only happen on writes)[`header?`](dsl-ashcsv-datalayer.html#csv-header?)`boolean``false`If the csv file has a header that should be skipped[`separator`](dsl-ashcsv-datalayer.html#csv-separator)`any``44`The separator to use, defaults to a comma. Pass in a character (not a string).[`columns`](dsl-ashcsv-datalayer.html#csv-columns)`any`The order that the attributes appear in the columns of the CSV
[← Previous Page Getting Started with CSV](getting-started-with-ash-csv.html)
[Next Page → Change Log](changelog.html)
[Hex Package](https://hex.pm/packages/ash_csv/0.9.7) [Hex Preview](https://preview.hex.pm/preview/ash_csv/0.9.7) ([current file](https://preview.hex.pm/preview/ash_csv/0.9.7/show/documentation/dsls/DSL:-AshCsv.DataLayer.md)) Search HexDocs [Download ePub version](ash_csv.epub "ePub version")
Built using [ExDoc](https://github.com/elixir-lang/ex_doc "ExDoc") (v0.31.2) for the [Elixir programming language](https://elixir-lang.org "Elixir")
[](https://github.com/ash-project/ash_csv)
[ash\_csv](https://github.com/ash-project/ash_csv)
v0.9.7
- Pages
- Modules
<!--THE END-->
<!--THE END-->
Search documentation of ash\_csv
Settings
# [View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/documentation/tutorials/getting-started-with-ash-csv.md#L1 "View Source") Getting Started with CSV
AshCsv offers basic support for storing and reading resources from csv files.
## [](getting-started-with-ash-csv.html#installation)Installation
Add `ash_csv` to your list of dependencies in `mix.exs`:
```
{:ash_csv, "~> 0.9.7-rc.0"}
```
For information on how to configure it, see the [DSL documentation.](dsl-ashcsv-datalayer.html)
[← Previous Page Home](readme.html)
[Next Page → DSL: AshCsv.DataLayer](dsl-ashcsv-datalayer.html)
[Hex Package](https://hex.pm/packages/ash_csv/0.9.7) [Hex Preview](https://preview.hex.pm/preview/ash_csv/0.9.7) ([current file](https://preview.hex.pm/preview/ash_csv/0.9.7/show/documentation/tutorials/getting-started-with-ash-csv.md)) Search HexDocs [Download ePub version](ash_csv.epub "ePub version")
Built using [ExDoc](https://github.com/elixir-lang/ex_doc "ExDoc") (v0.31.2) for the [Elixir programming language](https://elixir-lang.org "Elixir")
[](https://github.com/ash-project/ash_csv)
[ash\_csv](https://github.com/ash-project/ash_csv)
v0.9.7
- Pages
- Modules
<!--THE END-->
<!--THE END-->
Search documentation of ash\_csv
Settings
# [View Source](https://github.com/ash-project/ash_csv/blob/v0.9.7/README.md#L1 "View Source") Home
 
 [](https://opensource.org/licenses/MIT) [](https://hex.pm/packages/ash_csv) [](../ash_csv.html)
# AshCsv
Welcome! This is the CSV Data Layer for [Ash Framework](../ash.html).
## [](readme.html#tutorials)Tutorials
- [Getting Started with AshCsv](getting-started-with-ash-csv.html)
## [](readme.html#reference)Reference
- [AshCsv.DataLayer DSL](dsl-ashcsv-datalayer.html)
[← Previous Page API Reference](api-reference.html)
[Next Page → Getting Started with CSV](getting-started-with-ash-csv.html)
[Hex Package](https://hex.pm/packages/ash_csv/0.9.7) [Hex Preview](https://preview.hex.pm/preview/ash_csv/0.9.7) ([current file](https://preview.hex.pm/preview/ash_csv/0.9.7/show/README.md)) Search HexDocs [Download ePub version](ash_csv.epub "ePub version")
Built using [ExDoc](https://github.com/elixir-lang/ex_doc "ExDoc") (v0.31.2) for the [Elixir programming language](https://elixir-lang.org "Elixir")