From ee1cb658ec470fcaad2594d93760ad0c4a72a46d Mon Sep 17 00:00:00 2001 From: thisLight Date: Fri, 24 Sep 2021 15:24:22 +0800 Subject: sqlite: some doc fixes --- sqlite.zig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sqlite.zig') diff --git a/sqlite.zig b/sqlite.zig index 04b805c..b8676aa 100644 --- a/sqlite.zig +++ b/sqlite.zig @@ -525,10 +525,10 @@ pub const Db = struct { /// prepareDynamic prepares a dynamic statement for the `query` provided. /// - /// The query will be directly sent to create statement without any analysing. - /// That means such statement does not support comptime type-checking. + /// The query will be directly sent to create statement without analysing. + /// That means such statements does not support comptime type-checking. /// - /// Dynamic statement supports host parameter names. See `DynamicStatement` + /// Dynamic statement supports host parameter names. See `DynamicStatement`. pub fn prepareDynamic(self: *Self, query: []const u8) !DynamicStatement { return try self.prepareDynamicWithDiags(query, .{}); } @@ -1047,9 +1047,9 @@ pub const StatementOptions = struct {}; /// /// It doesn't matter "@", "$" or ":" is being used, the one will be automatically chosen, /// but it's not recommended to mix them up, because: sqlite3 thinks @A, $A and :A are -/// different, but `DynamicStatement` will try :A, @A, $A in order when you passing an 'A' field. +/// different, but `DynamicStatement` will try :A, @A, $A in order when you passing a 'A' field. /// The ":A" will be binded while "@A", "$A" are left behind. -/// TL;DR: don't use same name with different indicator ("@", "$", ":"). +/// TL;DR: don't use same name with different prefix ("@", "$", ":"). /// /// You can use unnamed markers with tuple: /// ```` -- cgit v1.2.3