Cldr.Unit.DDL.execute_each

You're seeing just the function execute_each, go back to Cldr.Unit.DDL module for more information.

Returns a string that will Ecto execute each SQL command.

Arguments

  • sql is a string of SQL commands that are separated by three newlines ("\n"), that is to say two blank lines between commands in the file.

Example

iex> Money.DDL.execute "SELECT name FROM customers;

SELECT id FROM orders;"

"execute """

SELECT name FROM customers;

SELECT id FROM orders; """"