Skip to content

Require a basic example project #583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sicaboy opened this issue Dec 29, 2016 · 3 comments
Closed

Require a basic example project #583

sicaboy opened this issue Dec 29, 2016 · 3 comments
Milestone

Comments

@sicaboy
Copy link

sicaboy commented Dec 29, 2016

Require a basic example project.
I hope this lib can be friendly to beginners.
I hope someone could write a iOS project in swift demonstrate how to insert, delete, query rows in a real iOS project.

Like what they did: https://github.com/FahimF/SQLiteDB/tree/master/Examples/iOS

@gennaios
Copy link

gennaios commented Jan 12, 2017

Agree a sample or updated docs would help. I've used the project in two apps but am still a beginner and now trying again, I get confused with the various ways to get data and then do something with the results. For example, db.prepare(table.filter(…)), table.filter(…), …update(…), when columns can be subscripted and when they can't, etc. The docs help a bit but somethings like looping over an entire table might be used less than accessing column values of a filter, and an update could help.

Another example, soon I'll be trying date values, and looking over the docs, there's an extension, talk about treating dates as int, and then a recommendation of using the text extension, of which I'm not clear if it's the one first mentioned or another.

@jberkel jberkel added this to the 0.12.0 milestone Oct 1, 2017
@rajesh-loganathan
Copy link

rajesh-loganathan commented Jul 18, 2018

Here is the example project for ios sqlite in swift language. I just created a wrapper class to make simplify the implementation with easy understanding.

Source Code: https://github.com/svmrajesh/SwiftSqlite.git

@jberkel
Copy link
Collaborator

jberkel commented Aug 26, 2021

What would be a good example project? I was thinking more along the lines of a small CLI app, also executable on Linux

@jberkel jberkel modified the milestones: 0.13.1, 0.13.2 Nov 17, 2021
@jberkel jberkel modified the milestones: 0.14.0, 0.14.1 Jul 17, 2022
@jberkel jberkel modified the milestones: 0.14.1, 0.15.0 May 22, 2023
@sicaboy sicaboy closed this as completed Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants