# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# Database

## Description

The Database library, as it name implies, offers a very easy way to store data. The commands are simple and straightforward (no knowledge of SQL is needed) but the database-capabilities limited. I basically developed the Database-library to store large sets of data with a simple structure, data that is rarely modified but needs to be read and searched quickly, like Photobjects. The Database library builds upon PySQLite, and the data itself is stored in a portable SQLite database. This means the database is just another file in your project folder that you can copy and redistribute along with your NodeBox-scripts.

If you need a viewer application for the SQLite database I recommend download SQLite Database Browser.

## Download

| database.zip (57KB) Last updated for NodeBox 1.0rc7

## Database commands in the Database library

- create()
- connect()
- Database.tables()
- Database.table()
- Database.tablename
- Database.append()
- Database.index()
- Database.commit()
- Database.close()
- Database.sql()
- Database.xml()

## Table commands in the Database library

- Table.find()
- Table.all()
- Table.fieldname()
- Table.fields()
- Table.append()
- Table.edit()
- Table.remove()