标签:const FormatSQL Format -- Args mORMot Params ORDER MATCH
mORMot 的 Fast Format 到底是% 还是 ? 作为参数!,先看看关键代码。
下面是代码原始注释
function FormatSql(const Format: RawUtf8; const Args, Params: array of const): RawUtf8;
fast Format() function replacement, handling % but also ? inlined parameters
- will include Args[] for every % in Format
- will include Params[] for every ? in Format, as "inlined" ORM or DB values,
e.g. :(1234): for numbers, and
标签:const,FormatSQL,Format,--,Args,mORMot,Params,ORDER,MATCH
From: https://www.cnblogs.com/hieroly/p/18287378