Or, instead of calling a function, you can use the fullselect in the variable creation definition
或者,在变量创建定义中使用 fullselect 来代替函数调用
To generate user errors from procedures, you can use the SQLERROR variable to return an actual error string that caused the statement to fail to the calling application, as shown in Listing 16.
要从过程生成用户错误,可以使用SQLERROR变量检索一个实际的错误字符串,该错误字符串使语句无法作用于调用应用程序,如清单16所示。
Calling the object reference shown in Listing 9 as a variable automatically calls the __invoke magic method, making the class itself act as a closure.
将清单9中所示的对象引用调用为变量将自动调用__invoke魔术方法,使类本身用作闭包。
应用推荐