seqlua

changeset 46:8889bb4c9b24

In README: clarified that sql_query function in example returns a userdata value
author jbe
date Mon Aug 25 04:05:40 2014 +0200 (2014-08-25)
parents 35eb59c51be6
children 31a78781a1e0
files README
line diff
     1.1 --- a/README	Mon Aug 25 04:02:06 2014 +0200
     1.2 +++ b/README	Mon Aug 25 04:05:40 2014 +0200
     1.3 @@ -119,6 +119,7 @@
     1.4        end
     1.5      end
     1.6      local result = sql_query("SELECT * FROM actor ORDER BY birthday")
     1.7 +    assert(type(result) == "userdata")
     1.8  
     1.9      -- we may rely on the ``__index`` or ``__ipairs`` metamethod to
    1.10      -- iterate through all result rows here:

Impressum / About Us