POE Paste with lovely alien head...

No paste!

from "gmcharlt" at 64.57.241.14
berick: it currently adheres to open-ils.*.transaction.begin

format options below
opensrf@dev-galen:~$ cat test.srfsh
open open-ils.cstore
request open-ils.cstore open-ils.cstore.transaction.begin
request open-ils.cstore open-ils.cstore.json_query {"from":["now"]}
request open-ils.cstore open-ils.cstore.transaction.rollback
opensrf@dev-galen:~$ srfsh test.srfsh
srfsh# open open-ils.cstore
Service open-ils.cstore opened
srfsh# request open-ils.cstore open-ils.cstore.transaction.begin

Received Data: "1490300660.547757.149030066028171"

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.002339
------------------------------------
srfsh# request open-ils.cstore open-ils.cstore.json_query {"from":["now"]}

Received Data: {
  "now":"2017-03-23T16:24:20-0400"
}

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.002387
------------------------------------
srfsh# request open-ils.cstore open-ils.cstore.transaction.rollback

Received Data: "1490300660.547757.149030066028171"

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.002294
------------------------------------
srfsh#
opensrf@dev-galen:~$ TZ=America/Los_Angeles srfsh test.srfsh
srfsh# open open-ils.cstore
Service open-ils.cstore opened
srfsh# request open-ils.cstore open-ils.cstore.transaction.begin

Received Data: "1490300670.252862.149030067028174"

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.002473
------------------------------------
srfsh# request open-ils.cstore open-ils.cstore.json_query {"from":["now"]}

Received Data: {
  "now":"2017-03-23T13:24:30-0700"
}

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.002563
------------------------------------
srfsh# request open-ils.cstore open-ils.cstore.transaction.rollback

Received Data: "1490300670.252862.149030067028174"

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.002184
------------------------------------
srfsh#





perl stuff: (might be helpful for others but not perfect)



Valid HTML 4.01!

Pastebot is powered by POE.