Daniel
There's currently no equivalent of getLastModified. There is a idbConnection.getLastValueInserted() which returns the last value inserted into a given table and column, but that's not quite what you're asking for.
I know you said you'd rather not use triggers, but a trigger on commit really would be the best option here.
Regards
Peter Hearty
Lutris Technologies UK
-----Original Message-----
From: owner-instantDB@Enhydra.ORG [mailto:owner-instantDB@Enhydra.ORG]On
Behalf Of Daniel HERLEMONT
Sent: 25 May 2000 13:02
To: instantDB@enhydra.org
Subject: InstantDB: LastModified
I would like to manage application cache and invalid the content if commit
occurs.
Is there a way to know the date of the last commit ?
I can do this with a timestamp, but I would prefer some embedded mechanism.
I would avoid tot use triggers, I would prefer something like
getLastModified() for the entire database.
Is there something in InstantDB. Which file to monitor ? is it a safe method
?
Thanks.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|