summaryrefslogtreecommitdiff
path: root/src/database/query.hpp
AgeCommit message (Collapse)Author
2018-08-23MaxHistoryLength now has some sensible default value if the user set a ↵louiz’
negative one
2018-04-24Revert "Use a different Date data type"louiz’
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0.
2018-04-11Use a different Date data typelouiz’
PLEASE backup your database before testing this commit, and report any migration issue. In postgresql, we use timestamp with timezone. In sqlite3 we use REAL (the date is expressed as julianday) This requires a migration of the muclogline_ table: In postgresql it’s pretty simple, we convert all the integer into timestamps With sqlite3, we actually rename the table, create the new one with the correct type, then copy everything to the new table, with a conversion function for the Date_ column, and then we delete the old table. fix #3343
2018-03-17Revert "Use std::optional<bool> instead of OptionalBool"louiz’
This reverts commit ba879a882e031d7b8503f78fe41d1210000c96ca.
2018-03-17Revert "Use if constexpr to make things a lot more readable"louiz’
This reverts commit d62ca9f87906be6f046fe9d07afb8bfb69c166e3.
2018-03-16Use if constexpr to make things a lot more readablelouiz’
2018-03-16Use std::optional<bool> instead of OptionalBoollouiz’
2018-02-15Fix the actual_bind versions for integralslouiz’
2018-02-11Fix a few warningslouiz’
2018-01-28This should fix the int conversion warning on 32bits archlouiz’
2018-01-14Add a DEBUG_SQL_QUERIES to log info about the executed SQL querieslouiz’
fix #3324
2017-12-02Handle postgresql and sqlite3 libs properlylouiz’
Do not fail to compile when one of them is missing but the other one is not. Raise an error when trying to open a database with the missing library. see #3237
2017-12-02Add postgresql supportlouiz’
2017-07-08Remove many log_debug from the database modulelouiz’
2017-06-23Move a few functions from select_query to querylouiz’
2017-06-16Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions tablelouiz’
ref #3269
2017-06-14Explicitely declare the add_param<Id> specializationlouiz’
2017-06-14Add a Statement class to manage the sqlite3_stmt objects and avoid leakslouiz’
2017-06-14Implement our own database ORM, and update the whole code to use itlouiz’
Entirely replace LiteSQL fix #3271