Comments (4)
CREATE TABLE test_datetime
(
id INT PRIMARY KEY AUTO_INCREMENT,
fdate DATE NOT NULL,
ftime TIME NOT NULL,
fdate_time DATETIME NOT NULL
);
execution query.
sqlpp::mysql::connection db(config);
for(const auto& row : db(sqlpp::select(sqlpp::all_of(tb)).from(tb).unconditionally()))
{
std::cout << row.id << " " << row.fdate << " " << row.ftime << " " << row.fdateTime << std::endl;
}
Bad, wrong.
[build] C:\Program Files (x86)\sqlpp11\include\sqlpp11/data_types/time_of_day/result_field.h(46): error C2039: "_bind_time_of_day_result": not is "sqlpp::mysql::char_result_t" a memeber.
[build] C:\Program Files (x86)\sqlpp11\include\sqlpp11/mysql/char_result.h(44): note: see also “sqlpp::mysql::char_result_t” statement
I checked mysql/char_result.h
really don't have _bind_time_of_day_resul
function.
help me,thanks!
from sqlpp11.
Thanks for the report. I added the missing functions plus respective tests.
Hope this helps?
from sqlpp11.
All right, thank you
Thanks for the report. I added the missing functions plus respective tests.
Hope this helps?
All right, thank you
from sqlpp11.
Thanks for the confirmation.
from sqlpp11.
Related Issues (20)
- How to use cascade delete HOT 2
- Length of the blob received by "select" HOT 2
- Datetime column breaking insertions into database HOT 9
- sqlpp/connection_pool.h: pooled_connection is inaccessable HOT 1
- SQLite3 connection pool error using HOT 4
- Support for pragma tables HOT 1
- sqlite3_step return code 5 with connection pool HOT 2
- how to get a column by string? HOT 2
- how can I use a in where condition,I always get an error? HOT 4
- mingw64, vcpkg, CMake, Project installation cannot find mariadb ? HOT 5
- sqlite connector: execute() silently ignores statements after the first one HOT 7
- how to use binary equal in where HOT 2
- Is there any opentracing support in sqlpp,like jaeger?Will it be supported in the future? HOT 1
- how to fix update exception? HOT 23
- How to retrieve the row count of a query result? HOT 6
- Multiple table query error HOT 3
- Mysql prepared_statement.h missing _bind_time_of_day_parameter function HOT 3
- How do I get record with count of references from one to many? HOT 4
- Handling of `::sqlpp::tag::enforce_null_result_treatment` does not seem to be implemented, NULL documentation is erroneous HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlpp11.