Skip to content

Commit

Permalink
Merge pull request #56 from intersystems-community/dstime
Browse files Browse the repository at this point in the history
dstime parameter added
  • Loading branch information
nsolov authored Mar 11, 2021
2 parents b42f27c + af40ba3 commit 37fbdda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cls/ZPM/Analytics/Event.cls
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Class ZPM.Analytics.Event Extends (%Persistent, %JSON.Adaptor)
{

Parameter DSTIME = "AUTO";

/// Server date and time, saving the data
Property TS As %PosixTime(%JSONINCLUDE = "none") [ SqlComputeCode = {set {*}=##class(%Library.PosixTime).CurrentTimeStamp()}, SqlComputed, SqlComputeOnChange = %%INSERT ];

Expand Down

0 comments on commit 37fbdda

Please sign in to comment.