Karl, don't worry. the SQL module is not going anywhere. Jason is right
in the sense that it's considered done. He's wrong in thinking this has
anything to do with NoSQL.
NoSQL isn't emerging as a the SQL killer that NoSQL guys believe it is.
Instead it's a different tool that has other use
-project.org
Subject: Re: [Interest] QtSql database insertion issues...
Jason H schreef op 23-4-2015 om 04:38:
I always execute CREATE TABLE IF NOT EXISTS table after connecting.
Problem is: there is no DDL support in Qt, so it is not possible to do that
in a way that is database-agnostic
.
Sent:Thursday, April 23, 2015 at 10:45 AM
From:Karl Ruetz karl.ru...@ruetzdogz.com
To:interest@qt-project.org
Subject:Re: [Interest] QtSql database insertion issues...
I sincerely hope you are wrong; at least for the next several years. (Like 10 years.)
Staying on the bleeding edge is simply not an option
'
Subject: Re: [Interest] QtSql database insertion issues... The prepare(...)
does seem to work. One thing that really confuses me is that even though I use
the named bindings, it always lists the bindings as '?' in the error messages.
Ben On Tuesday, April 21, 2015 11:20 PM, Tony Rietwyk
-bounces+tony=rightsoft.com...@qt-project.org
[mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of BRM
Sent: Wednesday, 22 April 2015 12:42 PM
To: Qt Project
Subject: [Interest] QtSql database insertion issues... I've been out of the Qt
loop for a little bit; but I'm
I always execute CREATE TABLE IF NOT EXISTS table after connecting.
Sent:Wednesday, April 22, 2015 at 10:08 PM
From:BRM bm_witn...@yahoo.com
To:Tony Rietwyk t...@rightsoft.com.au, Qt Project interest@qt-project.org
Subject:Re: [Interest] QtSql database insertion issues...
So I dove
Jason H schreef op 23-4-2015 om 04:38:
I always execute CREATE TABLE IF NOT EXISTS table after connecting.
Problem is: there is no DDL support in Qt, so it is not possible to do
that in a way that is database-agnostic. Your code will not work against
all databases I think.
André
Kristoffersen, Even (NO14) schreef op 22-4-2015 om 09:07:
insertion.prepare(INSERT INTO master_directory (hash, path)
VALUES(:hash, :path));
TIA,
Ben
Seems like you are missing a semicolon at the end of your SQL statements.
That shouldn't matter. There is no obligation to terminate
insertion.prepare(INSERT INTO master_directory (hash, path) VALUES(:hash,
:path));
TIA,
Ben
Seems like you are missing a semicolon at the end of your SQL statements.
-Even
___
Interest mailing list
Interest@qt-project.org
I've been out of the Qt loop for a little bit; but I'm working to bring myself
back up to speed.I'm presently working on a small project that is basically a
GUI equivalent of md5sum/sha1sum where I'm attempting to store the data in a
SQLite Database during run-time. I've already done a
Sent: Wednesday, 22 April 2015 12:42 PM
To: Qt Project
Subject: [Interest] QtSql database insertion issues...
I've been out of the Qt loop for a little bit; but I'm working to bring myself
back up to speed.
I'm presently working on a small project that is basically a GUI equivalent of
md5sum
, or you would get a different message.
Hope that helps, Tony From:
interest-bounces+tony=rightsoft.com...@qt-project.org
[mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of BRM
Sent: Wednesday, 22 April 2015 12:42 PM
To: Qt Project
Subject: [Interest] QtSql database
12 matches
Mail list logo