We register our defined functions in a linked list in memory for the same 
reason (and have also implemented a .func <pattern> in the shell to list 
all/matching registered functions)

-----Ursprüngliche Nachricht-----
Von: big stone [mailto:[email protected]]
Gesendet: Donnerstag, 08. Mai 2014 18:35
An: [email protected]
Betreff: [sqlite] How do I know the python functions registered on SQLite ?

Hello,

Is there a way to get the list of all the 'external' functions created in a  
SQLite connexion ?

(maybe there is no solution except a manual housekeeping)

#***** (example of external function creation in Python) import sqlite3 conn = 
sqlite.connect(":memory:") def mysqrt(s):
    return ("%s" %s**.5);

conn.create_function('mysqrt', 1, mysqrt)
#*****


Regards,
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


-----------------------------------------------------------------------
Gunter Hick
Software Engineer

Scientific Games International GmbH
Klitschgasse 2 – 4, A - 1130 Vienna,
Austria
FN 157284 a, HG Wien
Tel: +43 1 80100 0
E-Mail: [email protected]

This e-mail is confidential and may well also be legally privileged. If you 
have received it in error, you are on notice as to its status and accordingly 
please notify us immediately by reply e-mail and then
delete this message from your system. Please do not copy it or use it for any 
purposes, or disclose its contents to any person as to do so could be a breach 
of confidence. Thank you for your cooperation.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to