NetBSD/share/examples/lua
kamil 8ad8b0676c Correct mistakes in the sqlite.lua example
Changes:
- The open flag: sqlite.OPEN_CREATE will open the DB for reading and
  writing, adding sqlite.OPEN_READWRITE to sqlite.OPEN_CREATE will cause
  the DB to not be created and prevent the script from continuing
- When using stmt:bind_parameter_index() the parameter needs to be
  prefixed with ':' if that was used in the prepared statement,
  otherwise the incorrect index of 0 is returned.
- The drop table statement has an "x" appended to the table name, looks
  like a typo.

Patch by Travis Paul

Closes PR misc/50493
2015-12-08 23:04:40 +00:00
..
Makefile
README
gpio.lua
sqlite.lua

README

	$NetBSD: README,v 1.1 2011/10/15 12:58:43 mbalmer Exp $

This directory contains example code that illustrates how to use Lua modules.