[Product-Developers] calling ZSQL method from Python

Andreas Kaiser kaiser at xo7.de
Mon Oct 13 12:38:41 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mayank Mathur schrieb:

> im using ZSQL method for my Product, which takes 2 param, ID and STATUS.
> now, one method is to goto 'test' tab of that method, enter both param
> and it'll display result from MYSQL.
> I want to directly call this method from my Python script, with param.
> Will this be possible ?

Of course. E.g.:

context.name_of_your_zsql_mwthod(val_for_id, val_for_status)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI80FR/IUfrcGW134RAnLoAJ9UUqr9d2swSjwcq43qPx17FTrj/QCfSOH9
vx24t4NnSwdl42bdZanKTtY=
=G3CO
-----END PGP SIGNATURE-----




More information about the Product-Developers mailing list