Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by fenway

  1. If the changes are minimal, you can just query the underlying tables directly, based on timestamp.

     

    This is assuming the admin will be reviewing this kind of this daily -- i.e. you prepare the list to review 'often'.

     

    I suppose you could log ( table, uid, user, timestamp ) too.

  2. It is quite common to do this, and not wrong at all. If the application is building queries and doesn't know the column types, this is how to do it.

     

    This is *not* how to do it -- don't pretend that it is.

     

    It doesn't work "as expected" -- it works by accident.

     

    It's trivial to have your DB wrapper consult your schema once.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.