Home Applications shvarov-persistent

shvarov-persistent

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
0
0 reviews
0
Awards
2
Views
0
IPM installs
0
0
Details
Releases (1)
Reviews
Issues
A simple persistent class with helpful properties we (almost) always need

What's new in this version

Initial Release

shvarov-persistent-base

This is a base class that brings two TS properties added to your persistent class, providing time stamps on when it the instance was created and every time it was updated:

Property CreatedAt: %TimeStamp;
Property LastUpdate: %TimeStamp;

Installation

module is available on InterSystems Open Exhcange and in a community IPM registry as shvarov-persistent
In IRIS terminal or programmatically do:

zpm "install shvarov-persistent"

or as dependency in your module.xml, within section:


        
          shvarov-persistent
          1.*.*
        

this will install shvarov.persistent package into your IRIS system.

How to Use it

derive shvarov.persistent.base after %Persistent class - this will give you these CreatedAt and LastUpdate properties automatically, e.g.

Class your.persistent.class Extends (%Persistent, shvarov.persistent.base, %JSON.Adaptor)

Installation for development and contribution

Clone/git pull the repo into any local directory

$ git clone git@github.com:intersystems-community/iris-persistent-class.git

Open the terminal in this directory and run:

$ docker-compose build
  1. Run the IRIS container with your project:
$ docker-compose up -d

support

this is an open source and use it at your own risk. Feel free to submit issues to the repo and pull requests are more than welcomed

contribution

Contribution and feedback are very welcome

Made with
Install
zpm install shvarov-persistent download archive
Version
1.0.024 Jun, 2025
Category
Technology Example
Works with
InterSystems IRIS
First published
24 Jun, 2025
Last edited
24 Jun, 2025