Exposed release date at release level (instead of just year)

This commit is contained in:
emeric
2023-10-01 14:37:47 +02:00
parent 552d66a63e
commit 0f1a5efffe
10 changed files with 45 additions and 38 deletions
+2 -2
View File
@@ -149,11 +149,11 @@ ClusterType::findUsed(Session& session, Range range)
}
ClusterType::pointer
ClusterType::find(Session& session, const std::string& name)
ClusterType::find(Session& session, std::string_view name)
{
session.checkSharedLocked();
return session.getDboSession().find<ClusterType>().where("name = ?").bind(name).resultValue();
return session.getDboSession().find<ClusterType>().where("name = ?").bind(std::string {name}).resultValue();
}
ClusterType::pointer