From 94c309d61ea4687695081f501efd6830ad2e686e Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 22 Oct 2025 16:41:00 +1300 Subject: [PATCH] Fix default escape --- app/controllers/api/migrations.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/api/migrations.php b/app/controllers/api/migrations.php index 82762c370e..ccd121f48f 100644 --- a/app/controllers/api/migrations.php +++ b/app/controllers/api/migrations.php @@ -472,9 +472,9 @@ App::post('/v1/migrations/csv/exports') ->param('filename', '', new Text(255), 'The name of the file to be created for the export, excluding the .csv extension.') ->param('columns', [], new ArrayList(new Text(Database::LENGTH_KEY)), 'List of attributes to export. If empty, all attributes will be exported. You can use the `*` wildcard to export all attributes from the collection.', true) ->param('queries', [], new ArrayList(new Text(0)), 'Array of query strings generated using the Query class provided by the SDK to filter documents to export. [Learn more about queries](https://appwrite.io/docs/databases#querying-documents). Maximum of ' . APP_LIMIT_ARRAY_PARAMS_SIZE . ' queries are allowed, each ' . APP_LIMIT_ARRAY_ELEMENT_SIZE . ' characters long.', true) - ->param('delimiter', ',', new Text(1), 'The character that separates each column value. Default is comma ",".', true) - ->param('enclosure', '"', new Text(1), 'The character that encloses each column value. Default is double quotes \'"\'.', true) - ->param('escape', '\\', new Text(1), 'The escape character for the enclosure character. Default is backslash "\\".', true) + ->param('delimiter', ',', new Text(1), 'The character that separates each column value. Default is comma.', true) + ->param('enclosure', '"', new Text(1), 'The character that encloses each column value. Default is double quotes.', true) + ->param('escape', '"', new Text(1), 'The escape character for the enclosure character. Default is double quotes.', true) ->param('header', true, new Boolean(), 'Whether to include the header row with column names. Default is true.', true) ->param('notify', true, new Boolean(), 'Set to true to receive an email when the export is complete. Default is true.', true) ->inject('user')