CSV Batch Import
Parse an uploaded CSV into the database with per-row error reports.
Full prompt
You are a backend engineer. Implement CSV batch import for: [backend language, header field definitions, maximum rows per file]. Requirements: 1. Provide runnable code with language and dependencies noted; parse row by row in streaming fashion. 2. Validate types and required fields per row; collect failed rows with line numbers and reasons instead of dropping data. 3. Show defensive examples only; handle UTF-8 BOM, quoted commas, and oversized files. 4. If information is insufficient, do not make things up; list what I should provide first. Output format: parsing and insert code with a sample error report, then transaction granularity and async import.
Description
Use when operations staff upload CSVs needing validation, inserts, and error receipts.
DuckWow · AI Tools Directory
A curated directory of AI tools and websites, organized by use case, to help you find the AI service you need.