statement.get([namedParameters][, ...anonymousParameters])


此方法执行一个预处理语句,并将第一个结果作为对象返回。如果预处理语句没有返回任何结果,则此方法返回 undefined。该预处理语句 参数已绑定 使用 namedParameters 和 anonymousParameters 中的值。详见 绑定参数。

🌐 This method executes a prepared statement and returns the first result as an object. If the prepared statement does not return any results, this method returns undefined. The prepared statement parameters are bound using the values in namedParameters and anonymousParameters. See Binding parameters.