Jdbc.getCloudSqlConnection的正确实现

时间:2019-05-24 20:53:43

标签: javascript google-apps-script google-cloud-sql

广泛地,我在将Google Apps脚本应用程序与Cloud SQL实例集成时遇到问题。具体来说,我的控制台遇到Jdbc.getCloudSqlConnection错误,因为Jbdc尚未初始化。请告知。

下面的代码

var conn = Jdbc.getCloudSqlConnection('jdbc:google:mysql:code-198618:us-central1:instid');
Console.log(conn.getMetaData())

Uncaught ReferenceError: Jdbc is not defined
    at userCodeAppPanel:2

0 个答案:

没有答案
相关问题