Readme
This commit is contained in:
parent
e369e9b5d8
commit
10e3ea18ad
|
|
@ -1,7 +0,0 @@
|
||||||
[Dolphin]
|
|
||||||
Timestamp=2016,5,12,10,37,46
|
|
||||||
Version=3
|
|
||||||
ViewMode=1
|
|
||||||
|
|
||||||
[Settings]
|
|
||||||
HiddenFilesShown=true
|
|
||||||
24
README.md
24
README.md
|
|
@ -1 +1,23 @@
|
||||||
# Nut
|
Nut
|
||||||
|
===
|
||||||
|
|
||||||
|
Advanced, Powerful and easy to use ORM for Qt5
|
||||||
|
---
|
||||||
|
|
||||||
|
Features:
|
||||||
|
|
||||||
|
- Easy to use
|
||||||
|
- Automatically create and update database
|
||||||
|
- IDE auto complete support
|
||||||
|
- Table join detect
|
||||||
|
|
||||||
|
Sample code for reading:
|
||||||
|
---
|
||||||
|
```cpp
|
||||||
|
auto q = FROM(db.posts())
|
||||||
|
WHERE(Post::id() == %1)
|
||||||
|
BIND(postId);
|
||||||
|
auto posts = q->toList();
|
||||||
|
// now posts is a QList<Post*> contain all posts in
|
||||||
|
// database that has id equal to postId variable
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue