fix: add missing batch_size opt for bulk_create (#581)

This commit is contained in:
Alan Heywood 2023-05-18 14:05:29 +10:00 committed by GitHub
parent 6ec06ca867
commit 1653162041
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -392,6 +392,13 @@ defmodule Ash.Api do
doc:
"Wether or not to return all of the records that were inserted. Defaults to false to account for large inserts."
],
batch_size: [
type: :pos_integer,
doc: """
The number of records to include in each batch. Defaults to the `default_limit`
or `max_page_size` of the action, or 100.
"""
],
return_stream?: [
type: :boolean,
default: false,