developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 10 years ago

Last modified 9 years ago

#1205 confirmed enhancement

jDao insert should accept an array of record

Reported by: obs Owned by:
Priority: normal Milestone:
Component: jelix:dao Version: trunk
Severity: normal Keywords:
Cc: bernardes.claudio@… Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description (last modified by laurentj)

The explanation of this bug can be seen there: http://jelix.org/forums/forum/6-jelix-contributions-et-evolutions/posts/7172-7172-jdao-et-importation-massive-de-donnees

$dao->insert() could accept an array of dao records.

Change History (5)

comment:1 Changed 10 years ago by obs

Where is the definition of the insert function ? I can't find it.

comment:2 Changed 10 years ago by laurentj

  • Milestone set to Jelix 1.3
  • Type changed from bug to enhancement
  • Version changed from 1.1.7 to trunk

comment:3 Changed 10 years ago by laurentj

  • Milestone Jelix 1.3 deleted

comment:4 Changed 10 years ago by obs

  • Cc bernardes.claudio@… added

comment:5 Changed 9 years ago by laurentj

  • Description modified (diff)
  • Status changed from new to confirmed

The insert method is generated by jDaoGenerator.

Probably it's better to have an other method, insertAll(). It will be easier to implement..

Note: See TracTickets for help on using tickets.