[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Question on accessing table passed as parameter via C API
- From: Doug Currie <doug.currie@...>
- Date: Mon, 14 Mar 2011 13:02:13 -0400
On Mar 14, 2011, at 12:08 PM, Henderson, Michael D wrote:
> How about the named parameters? If I know their name, then I could use lua_getfield to get their values. How do I get the names, though? I could scan the query string looking for :[a-zA-Z][a-zA-Z0-9_]* but is there a simpler way?
You might find this example helpful: dbvm_bind_names in lsqlite3.c