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 12 years ago

Last modified 9 years ago

#723 delayed enhancement

Impossible de créer DAO à partir des vues

Reported by: dlalleme Owned by:
Priority: low Milestone:
Component: jelix:db Version: 1.0
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Bonjour,

Depuis la version 1.1 il est impossible de créer un DAO à partir d'une vue car il n'y a pas de clef primaire, ce qui normal dans une vue.

Change History (6)

comment:1 Changed 12 years ago by laurentj

  • Component changed from jelix to jelix-scripts
  • Milestone set to jelix 1.1
  • Priority changed from normal to low
  • Severity changed from normal to minor

comment:2 Changed 12 years ago by laurentj

  • Component changed from jelix-scripts to jelix:db
  • Milestone jelix 1.1 deleted
  • Severity changed from minor to normal
  • Version changed from 1.1 beta 1 to 1.0

C'est le cas aussi dans Jelix 1.0.

Il faudrait implémenter une balise <view> que l'on utiliserai à la place <primarytable> et la classe compilée génèrerait des exceptions pour toutes les méthodes de modifications génériques, et le compilateur interdirait la déclaration de méthode update, delete et cie...

Trop de travail pour la 1.1.

comment:3 Changed 11 years ago by laurentj

  • Milestone set to Jelix 1.2

comment:4 Changed 10 years ago by laurentj

  • Milestone Jelix 1.2 beta deleted

comment:5 Changed 9 years ago by laurentj

  • Type changed from bug to enhancement

comment:6 Changed 9 years ago by laurentj

  • Status changed from new to delayed
Note: See TracTickets for help on using tickets.