GRDB-ORM
sqlite_orm
GRDB-ORM | sqlite_orm | |
---|---|---|
7 | 9 | |
25 | 2,144 | |
- | - | |
7.4 | 0.0 | |
about 1 month ago | 21 days ago | |
Swift | C++ | |
MIT License | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GRDB-ORM
-
My App 'Beezle Social' Is Live on the App Store. Used: Rust, Swift and AWS
After years of working, I finally completed Beezle Social, discover local events!
Beezle Social is an app that is ready to be downloaded on the App Store and possibly soon on the Play store as well! With Beezle, you can explore events happening nearby. Check out the website at https://beezleapp.com/. The app can be downloaded at: https://apps.apple.com/us/app/beezle-social/id1661982809. I completed this on my own.
Rust is used at the backend. I did choose Rust because of its safety and speed. I took me awhile to get used to the type-system, but after that, I was amazed by the functionality and ecosystem. It is a joy working with macro's, cargo and code quality of other libraries.
Swift is used at the frontend. Obviously I preferred Swift over Obj-c. I used SwiftUI + UIKit to make the UI. The whole chatting part is done with UIKit because SwiftUI does not support advanced text editing options. I used some hacks in the chatting part to make sure SwiftUI doesn't reload everything all the time when a new message comes in.
AWS is used at the deploying side. I used ECS and Docker to deploy the server and a lot of other services for media, CDN and mailing system.
Beezle used libraries I created: https://github.com/Jasperav/Catalytic and https://github.com/Jasperav/GRDB-ORM. Catalytic is an ORM for the scylla-rust-driver and GRDB-ORM an ORM for GRDB.
I am happy to answer any question! Please download the app, leave a review and ping me if you missing features.
- GRDB-ORM, an ORM for GRDB - Swift SQLite
-
How to decide between JSON and CoreData?
I created GRDB-ORM awhile ago: https://github.com/Jasperav/GRDB-ORM. If you wanna use GRDB, make sure to check out the ORM as well. You won't be able to write quicker code yourself :). Note that the setup may take an hour to figure out, but after that you will never ever touch database entities
-
Is there a sqlite connection?
GRDB (and with the orm I made, it should be extremly easy to do anything SQL related: https://github.com/Jasperav/GRDB-ORM)
-
Realm vs CoreData in 2021. Which do you use and why?
GRDB with https://github.com/Jasperav/GRDB-ORM. I wrote the library. I doubt there is any easier way to manage and use a database since this generates the swift structs and ensures compile time checked queries
-
New SQLite ORM library
I also wrote a SQLite orm but it has GRDB as dependency: https://github.com/Jasperav/GRDB-ORM. Here you just write the .sql file and this library will generate the structs for you with a lot of predefined queries: https://github.com/Jasperav/GRDB-ORM/blob/master/GRDBPerformance/GRDBPerformance/Generated/DbUser.swift. Does your library create queries on runtime with the help of metadata? That would be a performance hit
-
Is there any compelling reason to use Core Data over Realm or other options and has SwiftUI changed this?
I use this thin wrapper for GRDB: https://github.com/Jasperav/GRDB-ORM :)
sqlite_orm
-
Introducing ZXORM - A C++20 ORM for SQLite with Compile Time Type Safety
Obligatory "how does it compare to" https://github.com/fnc12/sqlite_orm ?
-
Comprehensive tutorial for working with databases and c++
I had some success with sqlite_orm, but more generally I'd just recommend to pick a lib that fit your needs and read its examples/docs.
-
Please could you recommend a C++ ORM for accessing open source databases such as PostgreSQL?
For SQLite, I like sqlite_orm
-
sqlite_orm VS TinyORM - a user suggested alternative
2 projects | 26 May 2022
-
C++20 ❤️ SQL (CppCon 2021)
This one thing I feel like C++ has lacked in: a good, generic, SQL ORM. There is sqlite_orm which is really nice, but only for SQLite. Anyone have any other suggestions?
-
Are there any fast alternatives to databases (for tabular data but without SQL)?
Probably the most popular ORM for modern C++ is https://github.com/fnc12/sqlite_orm. I've never used it personally. But if you configure SQLite to disable all the barriers and all synchronisation, I think you'll find it goes very, very quickly even with the ORM layer in between.
-
New SQLite ORM library
Hey folks. I've posted my new `SQLiteORM` lib today here on GitHub https://github.com/fnc12/sqlite-orm-swift . It is the same lib I've written with C++ before https://github.com/fnc12/sqlite_orm . It uses keypath instead of `Codable` protocol to serialize and deserialize objects. If you need to use SQLite database inside your Swift project and you hate writing SQL queries using raw strings then you may like this lib.
-
Using SQLite or a serialization library for a data format?
I was leaning towards SQLite (along with sqlite_orm ) since I thought my data might be more relational and I used to work with databases a lot more. And I can use a SQLite browser app to view my data. But I'm wondering if doing serialization with a library like cerial or Boost's would be better.
-
Data storage for application
For the brief time I've used sqlite_orm, I've really liked it: https://github.com/fnc12/sqlite_orm
What are some alternatives?
Realm - Realm is a mobile database: a replacement for Core Data & SQLite
sqlite_modern_cpp - The C++14 wrapper around sqlite library
CoreStore - Unleashing the real power of Core Data with the elegance and safety of Swift
SQLite - Unofficial git mirror of SQLite sources (see link for build instructions)
GRDB.swift - A toolkit for SQLite databases, with a focus on application development
SQLite - Official Git mirror of the SQLite source tree
sqlite-orm-swift - 🧡 Easy to use SQLite ORM library written with love and Swift
hiberlite - C++ ORM for SQLite
SQLite.swift - A type-safe, Swift-language layer over SQLite3.
MongoDB C++ Driver - C++ Driver for MongoDB
ClickHouse - ClickHouse® is a free analytics DBMS for big data