Menu

#43 Conditionals in HTMLDatabaseViewer

open
nobody
5
2012-10-24
2002-06-20
No

To get more elegant results the HTML viewer should be
able to do conditionals in the sense that some output
happens only if some column does contain a specific
value. I think of using four new elements like <isNull
column="...">, <isNotNull column="...">, <equals
column="..." value="..."> and <notEquals column="..."
value="...">.

Using these conditionals one could create nice displays
for enumerates (e.g. if you have a "type" which is zero
for students and one for staff you could write
"student" and "staff" instead) and you could handle
empty fields better.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB