1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Implemented per database provider DATE INTERVAL queries

This commit is contained in:
sauls8t 2018-10-01 13:31:22 +01:00
parent 97d36fa2c8
commit 075060d11c
4 changed files with 22 additions and 0 deletions

View file

@ -91,6 +91,10 @@ type StoreProvider interface {
// QueryTableList returns a list tables in Documize database.
QueryTableList() string
// QueryDateInterval returns provider specific
// interval style date SQL.
QueryDateInterval(days int64) string
// JSONEmpty returns empty SQL JSON object.
// Typically used as 2nd parameter to COALESCE().
JSONEmpty() string