我发现在 TCL 中为 Sqlite 编写函数(https://github.com/pawelsalawa/sqlitestudio/wiki/ScriptingTcl)。
我想玩一个在 sqlite 官方页面(http://sqlite.org/tclsqlite.html)中找到的基本示例:
db eval {SELECT * FROM MyTable ORDER BY MyID} values {
parray values
puts ""
}
我收到以下错误:
Error while requesting the database « -- » : invalid command name "parray"
非常欢迎帮助:)