SQLite Reader/Writer
FME can read and write attribute data held in SQLite3 database tables.
SQLite3 is a relational database system that supports SQL and stores the entire database in a single file.
SQLite Product and System Requirements
Format |
Platform |
Operating System |
||||
---|---|---|---|---|---|---|
Reader/Writer |
FME Desktop License |
FME Server |
FME Cloud |
Windows 64-bit |
Linux |
Mac |
Reader |
Available in FME Professional Edition and higher |
Yes |
Yes |
Yes |
Yes |
Yes |
Writer |
Available in FME Professional Edition and higher |
Yes |
Yes |
Yes |
Yes |
Yes |
Terminology: SQLite and FME
SpatiaLite |
Definition or FME Representation |
---|---|
table or view |
feature type |
row |
feature |
column |
attribute |
Reader Overview
FME considers a database dataset to be a collection of relational tables. The tables must be defined in the workspace before they can be read. All tables will be read.
The reader can also read SQLite Views.
Arbitrary WHERE clauses and joins are fully supported per table or view.
Writer Overview
The SQLite3 writer module stores attribute records into a live relational database. The SQLite3 writer provides the following capabilities:
- Transaction Support: The SQLite3 writer provides transaction support that eases the data loading process. Occasionally, a data load operation terminates prematurely due to data difficulties. The transaction support provides a mechanism for reloading corrected data without data loss or duplication.
- Table Creation: The SQLite3 writer uses the writer feature type schema information and options within the workspace to automatically create database tables as needed.
- Writer Mode Selection: The writer mode (Insert, Update, Upsert, and Delete) can be specified at three unique levels:
Writer Mode parameter |
|
Feature Operation parameter |
|
fme_db_operation attribute |