conn-spec Pub Share

connectors and creating objects

// $val snakk.telnet.t1 = snakk.telnet.new (name="sys1", host="cloud2a.razie.com", port="9000") // $send diesel.db.col.new(name="diesel.db.col.mydb")

vals in specs cause weird behaviour everywhere... especially in specs which is inherited everywhere...

// $val diesel.db.col.mydb = diesel.db.col.new(name="diesel.db.col.mydb") // $val diesel.db.col.mydb = diesel.db.col.new() // $val diesel.db.col.mydb : diesel.db.col = diesel.db.col.new()

msg diesel.db.INST.query  (collection)

what?

msg GET etrieve.status 

0 $mock:: etrieve.status
   . (errcode=0)

{{template etrieve.status:request:content-type="application/json"}} (view)

{{template etrieve.status:response:content-type="application/json"}} (view)


Was this useful?    

By: Razie | 2019-10-19 .. 2021-02-02 | Tags: spec , dsl , private


Viewed 947 times ( | History | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2024, all rights reserved.