یک JDBC CallableStatement . برای مستندات این کلاس، به java.sql.CallableStatement مراجعه کنید.
روشها
مستندات دقیق
addBatch()
برای مستندات این روش، به java.sql.PreparedStatement#addBatch() مراجعه کنید.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
addBatch(sql)
برای مستندات این روش، به java.sql.Statement#addBatch(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL که باید به این عبارت اضافه شود، معمولاً یک دستور SQL INSERT یا UPDATE . |
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
cancel()
برای مستندات این متد، به java.sql.Statement#cancel() مراجعه کنید.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
clearBatch()
برای مستندات این متد، به java.sql.Statement#clearBatch() مراجعه کنید.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
clearParameters()
برای مستندات این روش، به java.sql.PreparedStatement#clearParameters() مراجعه کنید.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
clearWarnings()
برای مستندات این متد، به java.sql.Statement#clearWarnings() مراجعه کنید.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
close()
برای مستندات این روش، به java.sql.Statement#close() مراجعه کنید.
execute()
برای مستندات این روش، به java.sql.PreparedStatement#execute() مراجعه کنید.
بازگشت
Boolean - اگر نتیجه اول یک مجموعه نتیجه باشد، true ) و اگر نتیجه اول یک شمارش بهروزرسانی باشد یا نتیجهای وجود نداشته باشد false .
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
execute(sql)
برای مستندات این روش، به java.sql.Statement#execute(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL که باید اجرا شود. |
بازگشت
Boolean - اگر نتیجه اول یک مجموعه نتیجه باشد، true true و اگر تعداد بهروزرسانی باشد یا هیچ نتیجهای وجود نداشته باشد، false برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
execute(sql, autoGeneratedKeys)
برای مستندات این روش، به java.sql.Statement#execute(String, int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL که باید اجرا شود. |
autoGeneratedKeys | Integer | پرچمی که نشان میدهد آیا کلیدهای تولید شده خودکار برای بازیابیهای بعدی در دسترس قرار میگیرند یا خیر؛ یا Jdbc.Statement.RETURN_GENERATED_KEYS یا Jdbc.Statement.NO_GENERATED_KEYS . |
بازگشت
Boolean - اگر نتیجه اول یک مجموعه نتیجه باشد، true true و اگر تعداد بهروزرسانی باشد یا هیچ نتیجهای وجود نداشته باشد، false برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
execute(sql, columnIndexes)
برای مستندات این روش، به java.sql.Statement#execute(String, int[]) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL که باید اجرا شود. |
columnIndexes | Integer[] | شاخصهای ستونی که کلیدهای تولید شده خودکار آنها برای بازیابیهای بعدی در دسترس قرار میگیرند. |
بازگشت
Boolean - اگر نتیجه اول یک مجموعه نتیجه باشد، true true و اگر تعداد بهروزرسانی باشد یا هیچ نتیجهای وجود نداشته باشد، false برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
execute(sql, columnNames)
برای مستندات این روش، به java.sql.Statement#execute(String, String[]) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL که باید اجرا شود. |
columnNames | String[] | نام ستونهایی که کلیدهای تولید شده خودکار آنها برای بازیابیهای بعدی در دسترس قرار گرفته است. |
بازگشت
Boolean - اگر نتیجه اول یک مجموعه نتیجه باشد، true true و اگر تعداد بهروزرسانی باشد یا هیچ نتیجهای وجود نداشته باشد، false برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeBatch()
برای مستندات این متد، به java.sql.Statement#executeBatch() مراجعه کنید.
بازگشت
Integer[] — بهروزرسانی برای هر دستور در دسته، با استفاده از همان ترتیبی که دستورات به دسته اضافه شدهاند، شمارش میشود.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeBatch(parameters)
دستهای از دستورات را برای اجرا به پایگاه داده ارسال میکند و اگر همه دستورات با موفقیت اجرا شوند، آرایهای از تعداد بهروزرسانیها را برمیگرداند. آرگومان پارامترها یک آرایه دوبعدی است که هر آرایه داخلی شامل پارامترهایی برای یک بار اجرای دستور است. برای مثال، اگر دستوری مانند "INSERT INTO employees (name, age) VALUES (?, ?)" دارید، پارامترها میتوانند [["John Doe", 30], ["John Smith", 25]] باشند.
مثال زیر چندین ردیف را با استفاده از دسته بندی در پایگاه داده وارد میکند:
var conn = Jdbc.getCloudSqlConnection("jdbc:google:mysql://..."); var stmt = conn.prepareStatement("INSERT INTO employees (name, age) VALUES (?, ?)"); var params = [["John Doe", 30], ["John Smith", 25]]; stmt.executeBatch(params);
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameters | Object[][] | یک آرایه دوبعدی از اشیاء که پارامترهای هر دسته را نشان میدهد. |
بازگشت
Integer[] — آرایهای از تعداد بهروزرسانیها که شامل یک عنصر برای هر دستور در دسته است.
پرتابها
Error — اگر خطایی در دسترسی به پایگاه داده رخ دهد.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeQuery()
برای مستندات این روش، به java.sql.PreparedStatement#executeQuery() مراجعه کنید.
بازگشت
JdbcResultSet - مجموعهای از نتایج که شامل دادههای تولید شده توسط پرسوجو است.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeQuery(sql)
برای مستندات این روش، به java.sql.Statement#executeQuery(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL برای اجرا، که معمولاً یک SELECT استاتیک است. |
بازگشت
JdbcResultSet - یک مجموعه نتیجه که شامل نتایج اجرا است. این مجموعه هرگز null نیست.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeUpdate()
برای مستندات این متد، به java.sql.PreparedStatement#executeUpdate() مراجعه کنید.
بازگشت
Integer - تعداد ردیفهای دستورات SQL Data Manipulation Language، یا 0 برای دستورات SQL که چیزی برنمیگردانند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeUpdate(sql)
برای مستندات این متد، به java.sql.Statement#executeUpdate(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL Data Manipulation Language برای اجرا (مانند INSERT ، UPDATE یا DELETE ) یا دستوری که هیچ مقداری را برنمیگرداند (مانند یک دستور DDL). |
بازگشت
Integer - یا تعداد ردیف برای دستورات زبان دستکاری دادهها، یا 0 برای دستوراتی که چیزی برنمیگردانند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeUpdate(sql, autoGeneratedKeys)
برای مستندات این روش، به java.sql.Statement#executeUpdate(String, int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL Data Manipulation Language برای اجرا (مانند INSERT ، UPDATE یا DELETE ) یا دستوری که هیچ مقداری را برنمیگرداند (مانند یک دستور DDL). |
autoGeneratedKeys | Integer | پرچمی که نشان میدهد آیا کلیدهای تولید شده خودکار برای بازیابیهای بعدی در دسترس قرار میگیرند یا خیر؛ یا Jdbc.Statement.RETURN_GENERATED_KEYS یا Jdbc.Statement.NO_GENERATED_KEYS . |
بازگشت
Integer - یا تعداد ردیف برای دستورات زبان دستکاری دادهها، یا 0 برای دستوراتی که چیزی برنمیگردانند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeUpdate(sql, columnIndexes)
برای مستندات این روش، به java.sql.Statement#executeUpdate(String, int[]) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL Data Manipulation Language برای اجرا (مانند INSERT ، UPDATE یا DELETE ) یا دستوری که هیچ مقداری را برنمیگرداند (مانند یک دستور DDL). |
columnIndexes | Integer[] | شاخصهای ستونی که کلیدهای تولید شده خودکار آنها برای بازیابیهای بعدی در دسترس قرار میگیرند. |
بازگشت
Integer - یا تعداد ردیف برای دستورات زبان دستکاری دادهها، یا 0 برای دستوراتی که چیزی برنمیگردانند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
executeUpdate(sql, columnNames)
برای مستندات این روش، به java.sql.Statement#executeUpdate(String, String[]) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
sql | String | دستور SQL Data Manipulation Language برای اجرا (مانند INSERT ، UPDATE یا DELETE ) یا دستوری که هیچ مقداری را برنمیگرداند (مانند یک دستور DDL). |
columnNames | String[] | نام ستونهایی که کلیدهای تولید شده خودکار آنها برای بازیابیهای بعدی در دسترس قرار گرفته است. |
بازگشت
Integer - یا تعداد ردیف برای دستورات زبان دستکاری دادهها، یا 0 برای دستوراتی که چیزی برنمیگردانند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getArray(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getArray(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
JdbcArray — مقدار پارامتر ARRAY . اگر مقدار null باشد، null را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getArray(parameterName)
برای مستندات این متد، به java.sql.CallableStatement#getArray(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
JdbcArray — مقدار پارامتر ARRAY . اگر مقدار null باشد، null را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getBigDecimal(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getBigDecimal(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
BigNumber - مقدار یک پارامتر NUMERIC با دقت کامل. اگر مقدار null باشد، null را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getBigDecimal(parameterName)
برای مستندات این متد، به java.sql.CallableStatement#getBigDecimal(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
BigNumber - مقدار یک پارامتر NUMERIC . اگر مقدار null باشد، null را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getBlob(parameterIndex)
برای مستندات این روش، به java.sql.CallableStatement#getBlob(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
JdbcBlob - مقدار پارامتر BLOB . اگر مقدار null باشد، null برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getBlob(parameterName)
برای مستندات این روش، به java.sql.CallableStatement#getBlob(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
JdbcBlob - مقدار پارامتر BLOB . اگر مقدار null باشد، null برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getBoolean(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getBoolean(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
Boolean - مقدار پارامتر BIT یا BOOLEAN . اگر مقدار null باشد، false را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getBoolean(parameterName)
برای مستندات این متد، به java.sql.CallableStatement#getBoolean(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
Boolean - مقدار پارامتر BIT یا BOOLEAN . اگر مقدار null باشد، false را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getByte(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getByte(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
Byte - مقدار پارامتر TINYINT . اگر مقدار null باشد، 0 را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getByte(parameterName)
برای مستندات این متد، به java.sql.CallableStatement#getByte(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
Byte - مقدار پارامتر TINYINT . اگر مقدار null باشد، 0 را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getBytes(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getBytes(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
Byte[] — مقدار یک پارامتر BINARY یا VARBINARY . اگر مقدار null باشد، null را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getBytes(parameterName)
برای مستندات این متد، به java.sql.CallableStatement#getBytes(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
Byte[] — مقدار یک پارامتر BINARY یا VARBINARY . اگر مقدار null باشد، null را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getClob(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getClob(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
JdbcClob — مقدار پارامتر CLOB . اگر مقدار null باشد، null برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getClob(parameterName)
برای مستندات این روش، به java.sql.CallableStatement#getClob(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
JdbcClob — مقدار پارامتر CLOB . اگر مقدار null باشد، null برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getConnection()
برای مستندات این روش، به java.sql.Statement#getConnection() مراجعه کنید.
بازگشت
JdbcConnection — ارتباطی که این دستور را تولید کرده است.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getDate(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getDate(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
JdbcDate — مقدار یک پارامتر DATE . اگر مقدار null باشد، null برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getDate(parameterIndex, timeZone)
برای مستندات این روش، به java.sql.CallableStatement#getDate(int, Calendar) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
timeZone | String | یک رشته منطقه زمانی که برای ساخت نمونه java.lang.Calendar استفاده میشود، که به نوبه خود برای ساخت تاریخ استفاده میشود. چندین قالب از رشتههای منطقه زمانی شناخته شده است: شناسههای کوتاه (مانند PST ، EST و GMT )، شناسههای بلند (مانند US/Pacific و America/Los_Angeles ) و فاصلهها (مانند GMT+6:30 ). |
بازگشت
JdbcDate — مقدار یک پارامتر DATE . اگر مقدار null باشد، null برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getDate(parameterName)
برای مستندات این متد، به java.sql.CallableStatement#getDate(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
JdbcDate — مقدار یک پارامتر DATE . اگر مقدار null باشد، null برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getDate(parameterName, timeZone)
برای مستندات این روش، به java.sql.CallableStatement#getDate(String, Calendar) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
timeZone | String | یک رشته منطقه زمانی که برای ساخت نمونه java.lang.Calendar استفاده میشود، که به نوبه خود برای ساخت تاریخ استفاده میشود. چندین قالب از رشتههای منطقه زمانی شناخته شده است: شناسههای کوتاه (مانند PST ، EST و GMT )، شناسههای بلند (مانند US/Pacific و America/Los_Angeles ) و فاصلهها (مانند GMT+6:30 ). |
بازگشت
JdbcDate — مقدار یک پارامتر DATE . اگر مقدار null باشد، null برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getDouble(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getDouble(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
Number - مقدار پارامتر DOUBLE . اگر مقدار null باشد، 0 را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getDouble(parameterName)
برای مستندات این متد، به java.sql.CallableStatement#getDouble(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
Number - مقدار پارامتر DOUBLE . اگر مقدار null باشد، 0 را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getFetchDirection()
برای مستندات این متد، به java.sql.Statement#getFetchDirection() مراجعه کنید.
بازگشت
Integer - جهت پیشفرض برای مجموعه نتایج تولید شده توسط این دستور، که یا Jdbc.ResultSet.FETCH_FORWARD یا Jdbc.ResultSet.FETCH_REVERSE است.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getFetchSize()
برای مستندات این متد، به java.sql.Statement#getFetchSize() مراجعه کنید.
بازگشت
Integer - اندازه پیشفرض واکشی ردیف برای مجموعه نتایج تولید شده از این دستور.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getFloat(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getFloat(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
Number - مقدار پارامتر FLOAT . اگر مقدار null باشد، 0 را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getFloat(parameterName)
برای مستندات این روش، به java.sql.CallableStatement#getFloat(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
Number - مقدار پارامتر FLOAT . اگر مقدار null باشد، 0 را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getGeneratedKeys()
برای مستندات این روش، به java.sql.Statement#getGeneratedKeys() مراجعه کنید.
بازگشت
JdbcResultSet - یک مجموعه نتیجه شامل کلیدهای تولید شده خودکار با اجرای این دستور.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getInt(parameterIndex)
برای مستندات این متد، به java.sql.CallableStatement#getInt(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | اندیس پارامتری که باید بازیابی شود (پارامتر اول ۱، دومی ۲ و غیره است). |
بازگشت
Integer - مقدار پارامتر INTEGER . اگر مقدار null باشد، 0 را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getInt(parameterName)
برای مستندات این متد، به java.sql.CallableStatement#getInt(String) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | نام پارامتر. |
بازگشت
Integer - مقدار پارامتر INTEGER . اگر مقدار null باشد، 0 را برمیگرداند.
مجوز
اسکریپتهایی که از این روش استفاده میکنند، نیاز به مجوز با یک یا چند مورد از حوزههای زیر دارند:
-
https://www.googleapis.com/auth/script.external_request
getLong(parameterIndex)
برای مستندات این روش، به java.sql.CallableStatement#getLong(int) مراجعه کنید.
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
بازگشت
Integer — The value of a BIGINT parameter. Returns 0 if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getLong(parameterName)
For documentation of this method, see java.sql.CallableStatement#getLong(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
Integer — The value of a BIGINT parameter. Returns 0 if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getMaxFieldSize()
For documentation of this method, see java.sql.Statement#getMaxFieldSize() .
بازگشت
Integer — The current column byte size limit for columns storing character and binary values; a value of zero indictates no limit.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getMaxRows()
For documentation of this method, see java.sql.Statement#getMaxRows() .
بازگشت
Integer — The current maximum number of rows for a result set produced by this statement; a value of 0 indicates no limit.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getMetaData()
For documentation of this method, see java.sql.PreparedStatement#getMetaData() .
بازگشت
JdbcResultSetMetaData — The description of a result set's columns, or NULL if this metadata is unavailable.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getMoreResults()
For documentation of this method, see java.sql.Statement#getMoreResults() .
بازگشت
Boolean — true if the next result is a result set; false otherwise.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getMoreResults(current)
For documentation of this method, see java.sql.Statement#getMoreResults(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
current | Integer | A flag that indicates what happens to current result sets when retrieved. This value is one of Jdbc.Statement.CLOSE_CURRENT_RESULT , Jdbc.Statement.KEEP_CURRENT_RESULT , or Jdbc.Statement.CLOSE_ALL_RESULTS . |
بازگشت
Boolean — true if the next result is a result set; false otherwise.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getNClob(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getNClob(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | An index indicating which parameter to register (the first parameter is 1, the second is 2, and so on). |
بازگشت
JdbcClob — The value of a NCLOB parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getNClob(parameterName)
For documentation of this method, see java.sql.CallableStatement#getNClob(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
JdbcClob — The value of a NCLOB parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getNString(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getNString(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | An index indicating which parameter to register (the first parameter is 1, the second is 2, and so on). |
بازگشت
String — A string that maps a NCHAR , NVARCHAR , or LONGNVARCHAR value.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getNString(parameterName)
For documentation of this method, see java.sql.CallableStatement#getNString(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
String — A string that maps a NCHAR , NVARCHAR , or LONGNVARCHAR value.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getObject(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getObject(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
بازگشت
Object — An object holding the parameter value.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getObject(parameterName)
For documentation of this method, see java.sql.CallableStatement#getObject(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
Object — An object holding the parameter value.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getParameterMetaData()
For documentation of this method, see java.sql.PreparedStatement#getParameterMetaData() .
بازگشت
JdbcParameterMetaData — The parameter metadata, including the number, types, and properties for each parameter.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getQueryTimeout()
For documentation of this method, see java.sql.Statement#getQueryTimeout() .
بازگشت
Integer — The current query timeout in seconds; a value of zero indicates no timeout.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getRef(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getRef(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
بازگشت
JdbcRef — The value of a REF parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getRef(parameterName)
For documentation of this method, see java.sql.CallableStatement#getRef(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
JdbcRef — The value of a REF parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getResultSet()
For documentation of this method, see java.sql.Statement#getResultSet() .
بازگشت
JdbcResultSet — The current result set, or null if the result is an update count or there are no more results.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getResultSetConcurrency()
For documentation of this method, see java.sql.Statement#getResultSetConcurrency() .
بازگشت
Integer — The result set concurrency for result sets generated from this statement, which is either Jdbc.ResultSet.CONCUR_READ_ONLY or Jdbc.ResultSet.CONCUR_UPDATABLE .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getResultSetHoldability()
For documentation of this method, see java.sql.Statement#getResultSetHoldability() .
بازگشت
Integer — The result set holdability, which is either Jdbc.ResultSet.HOLD_CURSORS_OVER_COMMIT or Jdbc.ResultSet.CLOSE_CURSORS_AT_COMMIT .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getResultSetType()
For documentation of this method, see java.sql.Statement#getResultSetType() .
بازگشت
Integer — The result set type for result sets generated from this statement, which is Jdbc.ResultSet.TYPE_FORWARD_ONLY , Jdbc.ResultSet.TYPE_SCROLL_INSENSITIVE , or Jdbc.ResultSet.TYPE_SCROLL_INSENSITIVE .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getRowId(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getRowId(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | An index indicating which parameter to register (the first parameter is 1, the second is 2, and so on). |
بازگشت
JdbcRowId — The ROWID value. Returns null if the parameter contains an SQL NULL .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getRowId(parameterName)
For documentation of this method, see java.sql.CallableStatement#getRowId(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
JdbcRowId — The ROWID value. Returns null if the parameter contains an SQL NULL .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getSQLXML(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getSQLXML(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | An index indicating which parameter to register (the first parameter is 1, the second is 2, and so on). |
بازگشت
JdbcSQLXML — A SQLXML object that maps to an SQL XML value.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getSQLXML(parameterName)
For documentation of this method, see java.sql.CallableStatement#getSQLXML(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
JdbcSQLXML — A SQLXML object that maps to an SQL XML value.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getShort(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getShort(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
بازگشت
Integer — The value of a SMALLINT parameter. Returns 0 if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getShort(parameterName)
For documentation of this method, see java.sql.CallableStatement#getShort(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
Integer — The value of a SMALLINT parameter. Returns 0 if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getString(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getString(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
بازگشت
String — The value of a CHAR , VARCHAR , or LONGVARCHAR parameter.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getString(parameterName)
For documentation of this method, see java.sql.CallableStatement#getString(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
String — The value of a CHAR , VARCHAR , or LONGVARCHAR parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getTime(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getTime(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
بازگشت
JdbcTime — The value of a TIME parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getTime(parameterIndex, timeZone)
For documentation of this method, see java.sql.CallableStatement#getTime(int, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
بازگشت
JdbcTime — The value of a TIME parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getTime(parameterName)
For documentation of this method, see java.sql.CallableStatement#getTime(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
JdbcTime — The value of a TIME parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getTime(parameterName, timeZone)
For documentation of this method, see java.sql.CallableStatement#getTime(String, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
بازگشت
JdbcTime — The value of a TIME parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getTimestamp(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getTimestamp(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
بازگشت
JdbcTimestamp — The value of a TIMESTAMP parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getTimestamp(parameterIndex, timeZone)
For documentation of this method, see java.sql.CallableStatement#getTimestamp(int, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
بازگشت
JdbcTimestamp — The value of a TIMESTAMP parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getTimestamp(parameterName)
For documentation of this method, see java.sql.CallableStatement#getTimestamp(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
JdbcTimestamp — The value of a TIMESTAMP parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getTimestamp(parameterName, timeZone)
For documentation of this method, see java.sql.CallableStatement#getTimestamp(String, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
بازگشت
JdbcTimestamp — The value of a TIMESTAMP parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getURL(parameterIndex)
For documentation of this method, see java.sql.CallableStatement#getURL(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
بازگشت
String — The value of a DATALINK parameter as a string.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getURL(parameterName)
For documentation of this method, see java.sql.CallableStatement#getURL(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter. |
بازگشت
String — The value of a DATALINK parameter. Returns null if the value is null .
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getUpdateCount()
For documentation of this method, see java.sql.Statement#getUpdateCount() .
بازگشت
Integer — The current result as an update count, or -1 if the current result is a result set or if there are no more results.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
getWarnings()
For documentation of this method, see java.sql.Statement#getWarnings() .
بازگشت
String[] — The current set of warnings, or null if there are no warnings.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
isClosed()
For documentation of this method, see java.sql.Statement#isClosed() .
بازگشت
Boolean — true if this statement is closed; false otherwise.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
isPoolable()
For documentation of this method, see java.sql.Statement#isPoolable() .
بازگشت
Boolean — true if this statement is poolable; false otherwise.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
registerOutParameter(parameterIndex, sqlType)
For documentation of this method, see java.sql.CallableStatement#registerOutParameter(int, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | An index indicating which parameter to register (the first parameter is 1, the second is 2, and so on). |
sqlType | Integer | The JDBC type code to register. If the parameter is of JDBC type NUMERIC or DECIMAL , use registerOutParameter(parameterIndex, sqlType, scale) instead. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
registerOutParameter(parameterIndex, sqlType, scale)
For documentation of this method, see java.sql.CallableStatement#registerOutParameter(int, int, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | An index indicating which parameter to register (the first parameter is 1, the second is 2, and so on). |
sqlType | Integer | The JDBC type code to register. |
scale | Integer | The desired number of digits to the right of the decimal point (must be zero or greater). |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
registerOutParameter(parameterIndex, sqlType, typeName)
For documentation of this method, see java.sql.CallableStatement#registerOutParameter(int, int, String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to retrieve (the first parameter is 1, the second is 2, and so on). |
sqlType | Integer | A type code value. |
typeName | String | The fully-qualified name of an SQL structured type. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
registerOutParameter(parameterName, sqlType)
For documentation of this method, see java.sql.CallableStatement#registerOutParameter(String, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to be registered. |
sqlType | Integer | A type code value. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
registerOutParameter(parameterName, sqlType, scale)
For documentation of this method, see java.sql.CallableStatement#registerOutParameter(String, int, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to be registered. |
sqlType | Integer | A type code value. |
scale | Integer | The desired number of digits to the right of the decimal point, which must be zero or greater. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
registerOutParameter(parameterName, sqlType, typeName)
For documentation of this method, see java.sql.CallableStatement#registerOutParameter(String, int, String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to be registered. |
sqlType | Integer | A type code value. |
typeName | String | The fully-qualified name of an SQL structured type. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setArray(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setArray(int, Array) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcArray | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setBigDecimal(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setBigDecimal(int, BigDecimal) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | BigNumber | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setBigDecimal(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setBigDecimal(String, BigDecimal) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | BigNumber | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setBlob(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setBlob(int, Clob) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcBlob | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setBlob(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setBlob(String, Blob) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcBlob | A blob that maps to an SQL BLOB value. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setBoolean(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setBoolean(int, boolean) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Boolean | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setBoolean(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setBoolean(String, boolean) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Boolean | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setByte(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setByte(int, byte) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Byte | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setByte(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setByte(String, byte) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Byte | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setBytes(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setBytes(int, byte[]) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Byte[] | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setBytes(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setBytes(String, byte[]) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Byte[] | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setClob(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setClob(int, Clob) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcClob | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setClob(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setBlob(String, Clob) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcClob | A clob that maps to an SQL CLOB value. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setCursorName(name)
For documentation of this method, see java.sql.Statement#setCursorName(String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
name | String | The new cursor name, which must be unique within a connection. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setDate(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setDate(int, Date) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcDate | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setDate(parameterIndex, x, timeZone)
For documentation of this method, see java.sql.PreparedStatement#setDate(int, Date, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcDate | The parameter value to set. |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setDate(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setDate(String, Date) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcDate | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setDate(parameterName, x, timeZone)
For documentation of this method, see java.sql.CallableStatement#setDate(String, Date, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcDate | The parameter value to set. |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setDouble(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setDouble(int, double) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Number | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setDouble(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setDouble(String, double) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Number | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setEscapeProcessing(enable)
For documentation of this method, see java.sql.Statement#setEscapeProcessing(boolean) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
enable | Boolean | If true , escape processing is enabled; otherwise it is disabled. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setFetchDirection(direction)
For documentation of this method, see java.sql.Statement#setFetchDirection(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
direction | Integer | The specified direction to set, which is either Jdbc.ResultSet.FETCH_FORWARD or Jdbc.ResultSet.FETCH_REVERSE . |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setFetchSize(rows)
For documentation of this method, see java.sql.Statement#setFetchSize(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
rows | Integer | The number of rows to fetch. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setFloat(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setFloat(int, float) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Number | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setFloat(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setFloat(String, float) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Number | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setInt(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setInt(int, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Integer | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setInt(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setInt(String, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Integer | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setLong(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setLong(int, long) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Integer | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setLong(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setLong(String, long) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Integer | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setMaxFieldSize(max)
For documentation of this method, see java.sql.Statement#setMaxFieldSize(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
max | Integer | The new column byte size limit; a value of zero indicates no limit. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setMaxRows(max)
For documentation of this method, see java.sql.Statement#setMaxRows(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
max | Integer | The maximum number of rows a result set generated by this statement can have. A value of 0 indicates no limit. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setNClob(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setNClob(int, NClob) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcClob | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setNClob(parameterName, value)
For documentation of this method, see java.sql.CallableStatement#setNClob(String, NClob) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
value | JdbcClob | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setNString(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setNString(int, String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | String | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setNString(parameterName, value)
For documentation of this method, see java.sql.CallableStatement#setNString(String, String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
value | String | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setNull(parameterIndex, sqlType)
For documentation of this method, see java.sql.PreparedStatement#setNull(int, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
sqlType | Integer | The SQL type of the specified parameter. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setNull(parameterIndex, sqlType, typeName)
For documentation of this method, see java.sql.PreparedStatement#setNull(int, int, String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
sqlType | Integer | The SQL type of the specified parameter. |
typeName | String | The fully-qualifed name of an SQL user-defined type. Ignored if the parameter isn't a user-defined type or REF . |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setNull(parameterName, sqlType)
For documentation of this method, see java.sql.CallableStatement#setNull(String, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
sqlType | Integer | The SQL type code . |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setNull(parameterName, sqlType, typeName)
For documentation of this method, see java.sql.CallableStatement#setNull(String, int, String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
sqlType | Integer | The SQL type . |
typeName | String | The fully-qualified name of an SQL user-defined type; ignored if the parameter is not a user-defined type or SQL REF value. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setObject(index, x)
For documentation of this method, see java.sql.PreparedStatement#setObject(int, Object) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
index | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Object | The object containing the value to set the parameter to. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setObject(parameterIndex, x, targetSqlType)
For documentation of this method, see java.sql.PreparedStatement#setObject(int, Object, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Object | The object containing the value to set the parameter to. |
targetSqlType | Integer | The SQL type to send to the database. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setObject(parameterIndex, x, targetSqlType, scaleOrLength)
For documentation of this method, see java.sql.PreparedStatement#setObject(int, Object, int, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Object | The object containing the value to set the parameter to. |
targetSqlType | Integer | The SQL type to send to the database. The scale argument may further qualify this type. |
scaleOrLength | Integer | The number of digits after the decimal for DECIMAL or NUMERIC types, or the length of data for InputStream or Reader types. Ignored for all other types. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setObject(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setObject(String, Object) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Object | The object containing the value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setObject(parameterName, x, targetSqlType)
For documentation of this method, see java.sql.CallableStatement#setObject(String, Object, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Object | The object containing the value to set. |
targetSqlType | Integer | The SQL type sent to the database. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setObject(parameterName, x, targetSqlType, scale)
For documentation of this method, see java.sql.CallableStatement#setObject(String, Object, int, int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Object | The object containing the value to set. |
targetSqlType | Integer | The SQL type sent to the database. The scale parameter may further qualify this type. |
scale | Integer | The number of digits after the decimal point for DECIMAL and NUMERIC types. Ignored for all other types. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setPoolable(poolable)
For documentation of this method, see java.sql.Statement#setPoolable(boolean) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
poolable | Boolean | If true , requests that this statement be pooled; otherwise requests it not be pooled. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setQueryTimeout(seconds)
For documentation of this method, see java.sql.Statement#setQueryTimeout(int) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
seconds | Integer | The new query timeout in seconds; a value of 0 indicates no timeout. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setRef(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setRef(int, Ref) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcRef | The SQL REF value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setRowId(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setRowId(int, RowId) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcRowId | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setRowId(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setRowId(String, RowId) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcRowId | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setSQLXML(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setSQLXML(int, SQLXML) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcSQLXML | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setSQLXML(parameterName, xmlObject)
For documentation of this method, see java.sql.CallableStatement#setSQLXML(String, SQLXML) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
xmlObject | JdbcSQLXML | A SQLXML object that maps to an SQL XML value. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setShort(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setShort(int, short) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | Integer | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setShort(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setShort(String, short) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | Integer | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setString(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setString(int, String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | String | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setString(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setString(String, String) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | String | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setTime(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setTime(int, Time) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcTime | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setTime(parameterIndex, x, timeZone)
For documentation of this method, see java.sql.PreparedStatement#setTime(int, Time, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcTime | The parameter value to set. |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setTime(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setTime(String, Time) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcTime | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setTime(parameterName, x, timeZone)
For documentation of this method, see java.sql.CallableStatement#setTime(String, Time, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcTime | The parameter value to set. |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setTimestamp(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setTimestamp(int, Timestamp) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcTimestamp | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setTimestamp(parameterIndex, x, timeZone)
For documentation of this method, see java.sql.PreparedStatement#setTimestamp(int, Timestamp, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | JdbcTimestamp | The parameter value to set. |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setTimestamp(parameterName, x)
For documentation of this method, see java.sql.CallableStatement#setTimestamp(String, Timestamp) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcTimestamp | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setTimestamp(parameterName, x, timeZone)
For documentation of this method, see java.sql.CallableStatement#setTimestamp(String, Timestamp, Calendar) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
x | JdbcTimestamp | The parameter value to set. |
timeZone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setURL(parameterIndex, x)
For documentation of this method, see java.sql.PreparedStatement#setURL(int, URL) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterIndex | Integer | The index of the parameter to set (the first parameter is 1, the second is 2, and so on). |
x | String | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
setURL(parameterName, val)
For documentation of this method, see java.sql.CallableStatement#setURL(String, URL) .
پارامترها
| نام | نوع | توضیحات |
|---|---|---|
parameterName | String | The name of the parameter to set. |
val | String | The parameter value to set. |
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
wasNull()
For documentation of this method, see java.sql.CallableStatement#wasNull() .
بازگشت
Boolean — true if the last parameter read was null ; returns false otherwise.
مجوز
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request