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

Opened 11 years ago

Last modified 10 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:

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

Change History (5)

comment:1 Changed 11 years ago by obs

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

comment:2 Changed 11 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 11 years ago by laurentj

  • Milestone Jelix 1.3 deleted

comment:4 Changed 11 years ago by obs

  • Cc bernardes.claudio@… added

comment:5 Changed 10 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.