Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSQLite Getting started/Skeleton app #376
Comments
This comment has been minimized.
|
Yes, it'd be good to have some example apps for both backends (probably after 0.7 releases |
This comment has been minimized.
AndiDog
commented
Oct 13, 2016
|
I might just do a simple one, but first I need to resolve this issue:
Even though it makes sense for an insert statement (since getting inserted rowid is another query), I need a solution for sqlite, e.g. |
This comment has been minimized.
|
@AndiDog IIRC there is an |
killercup
added
help wanted
good first issue
sqlite
documentation
labels
Oct 13, 2016
This comment has been minimized.
rogeruiz
commented
Nov 14, 2016
|
I may take a crack at this with my changes to rogeruiz/tick#4 which will be using SQLite. I hope the |
added a commit
to rogeruiz/tick
that referenced
this issue
Nov 16, 2016
added a commit
to rogeruiz/tick
that referenced
this issue
Nov 21, 2016
This comment has been minimized.
Frederick888
commented
Jan 7, 2017
|
I'm new to Diesel and still a little confusing with the SQLite. I know that we could use |
This comment has been minimized.
|
You'll need to manually do a second query |
This comment has been minimized.
Frederick888
commented
Jan 7, 2017
|
@sgrif So what is the equivalent call in Diesel as |
This comment has been minimized.
|
We don't expose that function, as its value cannot actually be relied on in all contexts. You can approximate its behavior by doing something like |
This comment has been minimized.
|
This can be solved by https://github.com/Phrohdoh/rs-diesel-sqlite/issues/2 |
This comment has been minimized.
|
I think this can be closed now. |
stephanbuys commentedJul 11, 2016
Hi, would it be possible to build a branch of the skeleton app that uses SQLite? It seems like low-hanging fruit for lots of additional people to get going with Diesel as fast as possible. I banged my head on trying to convert the example app to use sqlite for a while but eventually gave up due to problems with the macros, and such.