Jump to content

Question


Dimos7

Recommended Posts

Use db functions.

dbConnect
dbQuery
dbExec
dbPoll

Assuming that you mean row instead of column, you can do it like this:

-- Connect to SQLite
local d = dbConnect("sqlite", "groups.db")
-- Create table
dbExec(d,"CREATE TABLE IF NOT EXISTS groups (name TEXT)")
-- Insert row
dbExec(d,"INSERT INTO groups VALUES (?)","group name")
-- Remove row
dbExec(d,"DELETE FROM groups WHERE name=?","group name")

Note that this isn't full script, just an example.

Link to comment
  • 2 weeks later...
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...