Skip to content

Commit

Permalink
Create PostgreSQL-Bulk-Copy.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jacentino authored Dec 6, 2019
1 parent b2aeff7 commit d66a922
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/PostgreSQL-Bulk-Copy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# PostgreSQL Bulk Copy

The PostgreSQL provider has excellent mechanism for bulk operations, although it's rather low-level.
SqlFun defines a wrepper around it, making its usage more comfortable. The idea is to allow to use collections of records as an input data:

```fsharp
let posts: Post list = ...
BulkCopy.WriteToServer posts|> run
```

Input data can contain enums, options, tuples and subrecords.

0 comments on commit d66a922

Please sign in to comment.