[Freeswitch-users] freeswitch.Dbh 'fetch' functions?
Chad Phillips
chad at apartmentlines.com
Wed Jul 1 23:26:55 UTC 2020
I went ahead and worked up a short blog post about this:
http://xylil.com/2020/07/01/freeswitch-dbh-fetch-convenience-functions-for-lua/
On Mon, Jun 15, 2020 at 9:07 PM Chad Phillips <chad at apartmentlines.com>
wrote:
> 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/20200701/623f9ad5/attachment.html>
More information about the FreeSWITCH-users
mailing list