DigitalOcean.Database.update_sql_mode
You're seeing just the function
update_sql_mode
, go back to DigitalOcean.Database module for more information.
Link to this function
update_sql_mode(database_id, opts)
Specs
update_sql_mode(String.t(), Keyword.t()) :: DigitalOcean.Operation.t()
Update the SQL mode for a MySQL database cluster.
Examples
iex> DigitalOcean.Database.update_sql_mode(
...> "9cdb64e5-61e4-4b30-b711-11ef66d84558",
...> sql_mode: "ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE"
...> ) |> DigitalOcean.request()
{ :ok, %DigitalOcean.Response{} }