feat: use sqlkata for a few more queries

This commit is contained in:
spiral 2022-12-03 12:04:12 +00:00
parent 8a727c6e80
commit b2e4ff38e3
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
5 changed files with 8 additions and 15 deletions

View file

@ -17,7 +17,7 @@ public interface IDatabase
[CallerMemberName] string queryName = "");
Task<T> QueryFirst<T>(string q, object param = null, [CallerMemberName] string queryName = "", bool messages = false);
Task<T> QueryFirst<T>(Query q, string extraSql = "", [CallerMemberName] string queryName = "");
Task<T> QueryFirst<T>(Query q, string extraSql = "", [CallerMemberName] string queryName = "", bool messages = false);
Task<T> QueryFirst<T>(IPKConnection? conn, Query q, string extraSql = "",
[CallerMemberName] string queryName = "");