# LKDBHelper

> Automatic SQLite ORM for iOS in Objective-C, built on FMDB

Source: https://talira.ai/catalog/lkdbhelper-wpxewb68
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / orm](https://talira.ai/categories/libraries/databases/orm), [languages / objective c](https://talira.ai/categories/languages/objective-c)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Backed by: [Jianghuai Li](https://talira.ai/orgs/jianghuai-li.md)

LKDBHelper is an automatic SQLite ORM for iOS, written in Objective-C on top of FMDB. It inserts, queries, updates and deletes model objects automatically, handling properties such as NSArray, NSDictionary, nested model classes, NSDate, NSData, UIColor, UIImage and geometry types. It's thread-safe and avoids recursive deadlocks, can turn on WAL mode and performance PRAGMAs, works with FMDB's SQLCipher build for encryption, and ships an LKDBRecover framework, based on SQLite's recover API, to repair corrupted databases. Its README is mostly in Chinese.

## Links

- GitHub: https://github.com/li6185377/LKDBHelper-SQLite-ORM

## Problems it solves

- save my Objective-C model objects to SQLite on iOS without writing SQL
- repair an iOS app's SQLite database that reports database disk image is malformed
- encrypt the local SQLite database in my iOS app

## Features

- automatic insert, query, update and delete of model objects
- property types from NSArray and NSDictionary to UIImage and CGRect
- thread-safe without recursive deadlocks
- SQLCipher encryption through FMDB
- LKDBRecover for repairing corrupted databases
- WAL mode and performance PRAGMA switches

## Limitations

- Needs iOS 12 or later with the current FMDB; older iOS versions need LKDBHelper 2.6.3 with FMDB 2.7.5.[^1]
- Its documentation is mostly in Chinese.[^1]

## Trust

Overall: 0.34 out of 1.
Signals: maintenance 0.27, adoption 0.62, momentum 0.28, community 0.48, backing 0.30, extensibility 0.00.

- latest release 2.8.0 11 months ago
- 1.2k GitHub stars
- 15 contributors
- backed by Jianghuai Li

Warnings:

- last commit 6 months ago

## Sources

[^1]: https://github.com/li6185377/LKDBHelper-SQLite-ORM/blob/master/README.md (checked 29 Nov 2026)
[^2]: https://github.com/li6185377/LKDBHelper-SQLite-ORM/blob/master/LICENSE (checked 29 Nov 2026)
