[Freeswitch-users] freeswitch.Dbh 'fetch' functions?

Chad Phillips chad at apartmentlines.com
Tue Jun 16 04:07:53 UTC 2020


Curious if
https://freeswitch.org/confluence/display/FREESWITCH/Lua+with+Database#LuawithDatabase-freeswitch.Dbh
is
missing any support functions that freeswitch.Dbh has under the hood?

It seems some convenience functions for the following would be quite nice:

 - Fetch query results into a table of tables
 - Fetch one result row
 - Fetch one row

I hacked up those in some quick helpers here:
https://gist.github.com/thehunmonkgroup/f92ca495c4c366d74fa9269320806cec

Just wondering if I'm missing anything.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200615/3296d46b/attachment.html>


More information about the FreeSWITCH-users mailing list