You tried to insert a list of authors into a table of posts ? That doesn't quite make sense. Surely you're looking for something like this ... <看更多>
Search
Search
You tried to insert a list of authors into a table of posts ? That doesn't quite make sense. Surely you're looking for something like this ... <看更多>
... <看更多>
This may be because the columns are defined in a different order in the tables. Does the column order matter? I hoped that PostgreSQL match the column names. ... <看更多>
We also need an import to get PostgreSQL-specific type mappings. ... pets: List[String]): ConnectionIO[Person] = { sql"insert into person (name, ... ... <看更多>
But yes I need to basically insert blocks of data which would be roughly equal ... the postgresql peeps have told me to use batch inserts, ... ... <看更多>