id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
django_CharField/jsondata_198_0.txt | * [ Export a BigQuery ML model for online prediction ](/bigquery/docs/export-model-tutorial) | |
django_CharField/workingwithjson_215_0.txt | ### Go | |
django_CharField/607740_148_0.txt | "$schema": "http://json-schema.org/draft-07/schema#" | |
django_CharField/jsondata_369_0.txt | These operators are syntactic sugar for the [ ` JSON_QUERY `
](/bigquery/docs/reference/standard-sql/json_functions#json_query) function.
For example, the expression ` cart.name ` is equivalent to ` JSON_QUERY(cart,
"$.name") ` . | |
django_CharField/workingwithjson_82_0.txt | * [ Insert, update, and delete data using DML ](/spanner/docs/dml-tasks)
* [ Partitioned DML ](/spanner/docs/dml-partitioned)
* [ DML best practices ](/spanner/docs/dml-best-practices) | |
django_CharField/workingwithjson_74_0.txt | * [ Transactions overview ](/spanner/docs/transactions)
* [ Timestamp bounds ](/spanner/docs/timestamp-bounds)
* Commit timestamps | |
django_CharField/jsondatahtml_43_0.txt | for (int i = 0; i < 10; ++i) {
primitive_array.set(i, 10 * i); // cannot set with [] operator
obj_array[i].set_number(10 * i); // can use either [] or set_
} | |
django_CharField/jsondata_213_0.txt | * [ Manage materialized views ](/bigquery/docs/materialized-views-manage)
* [ Manage materialized view replicas ](/bigquery/docs/materialized-view-replicas-manage) | |
django_CharField/jsondata_228_0.txt | * [ Introduction ](/bigquery/docs/introduction-audit-workloads)
* [ Audit policy tags ](/bigquery/docs/auditing-policy-tags)
* [ View Data Policy audit logs ](/bigquery/docs/column-data-masking-audit-logging)
* [ Data Transfer Service audit logs ](/bigquery/docs/audit-logging)
* [ Analytics Hub audit logging ](/bi... | |
django_CharField/jsondata_28_0.txt | * Migrate | |
django_CharField/workingwithjson_118_0.txt | * [ Access and resources management ](/docs/access-resources)
* [ Cloud SDK, languages, frameworks, and tools ](/docs/devtools)
* [ Costs and usage management ](/docs/costs-usage)
* [ Infrastructure as code ](/docs/iac)
* [ Migration ](/docs/migration) | |
django_CharField/607740_94_0.txt | 
* [ Transform with DML ](/bigquery/docs/data-manipulation-language)
* [ Transform data in partitioned tables ](/bigquery/docs/using-dml-with-partitioned-tables)
* [ Work with change history ](/bigquery/docs/change-history) | |
django_CharField/607740_62_0.txt | [ efvcbjdcsdf
](https://www.googlecloudcommunity.com/gc/user/viewprofilepage/user-id/435716)
 | |
django_CharField/django_CharField_47_0.txt | ### ` TextField ` ¶
_ class _ ` TextField ` ( _ ** options _ ) ¶
A large text field. The default form widget for this field is a [ ` Textarea
` ](../../forms/widgets/#django.forms.Textarea "django.forms.Textarea") .
If you specify a ` max_length ` attribute, it will be reflected in the [ `
Textarea ` ... | |
django_CharField/workingwithjson_137_0.txt |
### Encoding | |
django_CharField/jsondatahtml_39_0.txt | **Note.** Arrays are currently variable length and grow automatically. This
may change by the time the API is finalized. | |
django_CharField/jsondata_219_0.txt | * Manage BI Engine | |
django_CharField/workingwithjson_33_0.txt | * Databases | |
django_CharField/607740_88_0.txt | 0 Likes | |
django_CharField/607740_172_0.txt | * Mark as New
* Bookmark
* Subscribe
* Mute
* * [ Subscribe to RSS Feed ](https://www.googlecloudcommunity.com/rss/message?board.id=cloud-integration-services&message.id=353)
* * [ Permalink ](/gc/Integration-Services/Application-Integration-json-scheme-number-parameter-issue/m-p/607740/highlight/true#M353)
* [ Pri... | |
django_CharField/607740_144_0.txt | Post Options | |
django_CharField/workingwithjson_313_0.txt | // Queries rows from the Venues table.
try {
const [rows] = await database.run(query); | |
django_CharField/jsondata_234_0.txt | * Organize with labels | |
django_CharField/jsondata_230_0.txt | * Control costs | |
django_CharField/jsondata_172_0.txt | * MLOps with Vertex AI | |
django_CharField/workingwithjson_86_0.txt | * [ In GoogleSQL-dialect databases ](/spanner/docs/reference/standard-sql/arrays)
* [ In PostgreSQL-dialect databases ](/spanner/docs/reference/postgresql/arrays) | |
django_CharField/workingwithjson_195_0.txt | require "google/cloud/spanner"
require "google/cloud/spanner/admin/database" | |
django_CharField/jsondatahtml_10_0.txt | ## Basic Concepts | |
django_CharField/jsondata_182_0.txt | * [ Understand text ](/bigquery/docs/understand-text)
* [ Translate text ](/bigquery/docs/translate-text) | |
django_CharField/django_CharField_29_0.txt | ### ` DecimalField ` ¶
_ class _ ` DecimalField ` ( _ max_digits = None _ , _ decimal_places =
None _ , _ ** options _ ) ¶
A fixed-precision decimal number, represented in Python by a [ ` Decimal `
](https://docs.python.org/3/library/decimal.html#decimal.Decimal "\(in Python
v3.12\)") instance. It ... | |
django_CharField/jsondata_279_0.txt | To learn about the properties of the ` JSON ` data type, see [ ` JSON ` type
](/bigquery/docs/reference/standard-sql/data-types#json_type) . | |
django_CharField/jsondata_271_0.txt | # Working with JSON data in GoogleSQL | |
django_CharField/jsondata_202_0.txt | * [ Transcribe audio files ](/bigquery/docs/transcribe) | |
django_CharField/jsondata_21_0.txt | * [ Use the BigQuery sandbox ](/bigquery/docs/sandbox)
* [ Enable BigQuery Studio for asset management ](/bigquery/docs/enable-assets)
* Quickstarts | |
django_CharField/607740_194_0.txt | Top Labels in this Space | |
django_CharField/workingwithjson_155_0.txt | // addJsonColumn creates a column in the database of type JSON
func addJsonColumn(w io.Writer, db string) error {
// db = `projects/<project>/instances/<instance-id>/database/<database-id>`
matches := regexp.MustCompile("^(.*)/databases/(.*)$").FindStringSubmatch(db)
if matches == nil || len(matches) != 3 {
return fmt.... | |
django_CharField/jsondata_311_0.txt | The following example converts a SQL ` STRUCT ` value to a ` JSON ` value by
using the [ ` TO_JSON ` ](/bigquery/docs/reference/standard-
sql/json_functions#to_json) function: | |
django_CharField/607740_153_0.txt | [ Jump to Solution ](/gc/Integration-Services/Application-Integration-json-
scheme-number-parameter-issue/m-p/607049#M346) | |
django_CharField/django_CharField_7_0.txt | ### ` db_default ` ¶
New in Django 5.0.
` Field. ` ` db_default ` ¶
The database-computed default value for this field. This can be a literal
value or a database function, such as [ ` Now ` ](../database-
functions/#django.db.models.functions.Now "django.db.models.functions.Now") :
created ... | |
django_CharField/jsondata_399_0.txt | +----------------------------------------------------------------+
| items |
+----------------------------------------------------------------+
| [{"price":10,"product":"book"}","{"price":5,"product":"food"}] |
| [{"price":20,"product":"pen"}] ... | |
django_CharField/workingwithjson_247_0.txt | To learn how to install and use the client library for Spanner, see [ Spanner
client libraries ](/spanner/docs/reference/libraries) . | |
django_CharField/jsondata_76_0.txt | * [ Introduction ](/bigquery/docs/dts-introduction)
* [ Data location and transfers ](/bigquery/docs/dts-locations)
* [ Authorize transfers ](/bigquery/docs/dts-authentication-authorization)
* [ Enable transfers ](/bigquery/docs/enable-transfer-service)
* [ Manage transfers ](/bigquery/docs/working-with-transfers)... | |
django_CharField/workingwithjson_315_0.txt | ### PHP | |
django_CharField/workingwithjson_90_0.txt | * [ Perform similarity vector search by finding the K-nearest neighbors ](/spanner/docs/find-k-nearest-neighbors)
* [ Choose among vector distance functions to measure vector embeddings similarity ](/spanner/docs/choose-vector-distance-function)
* [ Export embeddings to Vertex AI Vector Search ](/spanner/docs/vector... | |
django_CharField/607740_28_0.txt | * [ News & Announcements ](/gc/News-Announcements/bd-p/cloud-announcements) | |
django_CharField/jsondata_9_0.txt | * [ Google Cloud Home ](https://cloud.google.com/)
* [ Free Trial and Free Tier ](https://cloud.google.com/free)
* [ Architecture Center ](https://cloud.google.com/architecture)
* [ Blog ](https://cloud.google.com/blog)
* [ Contact Sales ](https://cloud.google.com/contact)
* [ Google Cloud Developer Center ](http... | |
django_CharField/jsondata_423_0.txt | * [ Google Cloud pricing ](/pricing/)
* [ Google Workspace pricing ](//workspace.google.com/pricing.html)
* [ See all products ](/products/)
* ### Solutions | |
django_CharField/workingwithjson_61_0.txt | * [ PITR overview ](/spanner/docs/pitr)
* [ Recover data using PITR ](/spanner/docs/use-pitr) | |
django_CharField/607740_83_0.txt | Solved
 | |
django_CharField/django_CharField_14_0.txt | ### ` primary_key ` ¶
` Field. ` ` primary_key ` ¶
If ` True ` , this field is the primary key for the model.
If you don’t specify ` primary_key=True ` for any field in your model, Django
will automatically add a field to hold the primary key, so you don’t need to
set ` primary_key=True ` on any of your... | |
django_CharField/jsondata_401_0.txt | SELECT
id,
JSON_VALUE(item.product) AS product
FROM
mydataset.table1, UNNEST(JSON_QUERY_ARRAY(cart.items)) AS item
ORDER BY id; | |
django_CharField/workingwithjson_164_0.txt | **Note:** The old client library interface code samples for Java are archived
in [ GitHub ](https://github.com/googleapis/java-
spanner/tree/main/samples/snippets/src/main/java/com/example/spanner/admin/archived)
. | |
django_CharField/jsondata_277_0.txt | ## Limitations | |
django_CharField/workingwithjson_59_0.txt | * [ Backup and restore overview ](/spanner/docs/backup)
* [ Choose between backup and restore or import and export ](/spanner/docs/backup/choose-backup-import)
* [ Create a backup ](/spanner/docs/backup/create-backup)
* [ Copy a backup ](/spanner/docs/backup/copy-backup)
* [ Restore from a backup ](/spanner/docs/b... | |
django_CharField/workingwithjson_235_0.txt | static void updateJsonData(DatabaseClient client) {
client.write(
ImmutableList.of(
Mutation.newInsertOrUpdateBuilder("Venues")
.set("VenueId")
.to(4L)
.set("VenueDetails")
.to(
Value.json(
"[{\"name\":\"room 1\",\"open\":true},"
+ "{\"name\":\"room 2\",\"open\":false}]"))
.build(),
Mutation.newInsertOrUpdateBuilder("V... | |
django_CharField/607740_173_0.txt | Reply posted on \--/--/---- --:-- AM | |
django_CharField/workingwithjson_232_0.txt | class UpdateJsonDataSample { | |
django_CharField/workingwithjson_133_0.txt | JSON ` null ` values are treated as SQL non-NULL. | |
django_CharField/jsondata_365_0.txt | DECLARE int_val INT64 DEFAULT 0; | |
django_CharField/607740_193_0.txt | You do not have permission to remove this product association. | |
django_CharField/jsondata_148_0.txt | * Use programmatic tools | |
django_CharField/607740_22_0.txt | * [ Cloud FinOps and Cost Optimization Community ](/gc/Cloud-FinOps-and-Cost/gh-p/cloud-fin-ops) | |
django_CharField/workingwithjson_163_0.txt | static void addJsonColumn(String projectId, String instanceId, String databaseId)
throws InterruptedException, ExecutionException {
try (Spanner spanner =
SpannerOptions.newBuilder()
.setProjectId(projectId)
.build()
.getService();
DatabaseAdminClient databaseAdminClient = spanner.createDatabaseAdminClient()) {
// Wait... | |
django_CharField/jsondata_171_0.txt | * [ List models ](/bigquery/docs/listing-models)
* [ Manage models ](/bigquery/docs/managing-models)
* [ Get model metadata ](/bigquery/docs/getting-model-metadata)
* [ Update model metadata ](/bigquery/docs/updating-model-metadata)
* [ Export models ](/bigquery/docs/exporting-models)
* [ Delete models ](/bigquer... | |
django_CharField/607740_17_0.txt | * [ Google Kubernetes Engine (GKE) ](/gc/Google-Kubernetes-Engine-GKE/bd-p/cloud-google-kubernetes-engine) | |
django_CharField/workingwithjson_356_0.txt | * English
* Deutsch
* Español – América Latina
* Français
* Indonesia
* Italiano
* Português – Brasil
* 中文 – 简体
* 日本語
* 한국어 | |
django_CharField/workingwithjson_278_0.txt | auto rows = client.ExecuteQuery(std::move(select));
for (auto& row : spanner::StreamOf<RowType>(rows)) {
if (!row) throw std::move(row).status();
std::cout << "VenueId: " << std::get<0>(*row) << ", ";
auto venue_details = std::get<1>(*row).value();
std::cout << "VenueDetails: " << venue_details << "\n";
}
} | |
django_CharField/607740_5_0.txt | * [ Google Cloud ](/gc/Google-Cloud/ct-p/google-cloud)
* [ Google Workspace ](/gc/Google-Workspace/ct-p/google-workspace)
* [ AppSheet ](/gc/AppSheet/ct-p/appsheet)
* [ Looker ](/gc/Looker/ct-p/looker)
* [ Google Cloud Security ](/gc/Google-Cloud-Security/ct-p/googlecloud-security) | |
django_CharField/workingwithjson_156_0.txt | ctx := context.Background()
adminClient, err := database.NewDatabaseAdminClient(ctx)
if err != nil {
return err
}
defer adminClient.Close() | |
django_CharField/jsondata_385_0.txt | * [ ` STRING ` ](/bigquery/docs/reference/standard-sql/json_functions#string_for_json)
* [ ` BOOL ` ](/bigquery/docs/reference/standard-sql/json_functions#bool_for_json)
* [ ` INT64 ` ](/bigquery/docs/reference/standard-sql/json_functions#int64_for_json)
* [ ` FLOAT64 ` ](/bigquery/docs/reference/standard-sql/json_func... | |
django_CharField/jsondatahtml_41_0.txt | class MyData : public JsonCppData {
public:
int get_number() const;
void set_number(int n);
}; | |
django_CharField/607740_45_0.txt | Topic Options | |
django_CharField/workingwithjson_314_0.txt | rows.forEach(row => {
const json = row.toJSON();
console.log(
`VenueId: ${json.VenueId}, Details: ${JSON.stringify(
json.VenueDetails
)}`
);
});
} catch (err) {
console.error('ERROR:', err);
} finally {
// Close the database when finished.
database.close();
} | |
django_CharField/607740_139_0.txt | [ vsy ](https://www.googlecloudcommunity.com/gc/user/viewprofilepage/user-
id/301112) | |
django_CharField/workingwithjson_132_0.txt | ### Nullability | |
django_CharField/jsondata_359_0.txt | SELECT
cart.items[0] AS first_item
FROM mydataset.table1 | |
django_CharField/jsondatahtml_11_0.txt | The core client library interfaces refer to application data objects using the
abstract class ` googleapis::client::SerializableJson ` . This class is so
abstract that it only knows how to serialize and deserialize the instance in
and out of [ JSON ](http://tools.ietf.org/html/rfc4627) . In theory this makes
the core c... | |
django_CharField/607740_98_0.txt | ](https://www.linkedin.com/shareArticle?mini=true&url=https://www.googlecloudcommunity.com/gc/Integration-
Services/Application-Integration-json-scheme-number-parameter-
issue/m-p/607740&title=Application Integration - json scheme 'number'
parameter issue) [ | |
django_CharField/jsondata_349_0.txt | ## Query JSON data | |
django_CharField/jsondata_427_0.txt | * [ About Google ](//about.google/)
* [ Privacy ](//policies.google.com/privacy)
* [ Site terms ](//www.google.com/intl/en/policies/terms/regional.html)
* [ Google Cloud terms ](/product-terms/)
* Manage cookies
* [ Our third decade of climate action: join us ](/sustainability)
* Sign up for the Google Cloud newsletter... | |
django_CharField/workingwithjson_289_0.txt | To authenticate to Spanner, set up Application Default Credentials. For more
information, see [ Set up authentication for a local development environment
](/docs/authentication/provide-credentials-adc#local-dev) . | |
django_CharField/workingwithjson_146_0.txt | ### C++ | |
django_CharField/jsondatahtml_47_0.txt | // Can import/export to stl vectors.
vector<int> v;
primitive_array.Export(&v);
primtive_array.Import(v);
} | |
django_CharField/607740_154_0.txt | [ 1 Like ](/gc/kudos/messagepage/board-id/cloud-integration-
services/message-id/346/tab/all-users "Click here to see who gave likes to
this post.") | |
django_CharField/workingwithjson_355_0.txt | * [ About Google ](//about.google/)
* [ Privacy ](//policies.google.com/privacy)
* [ Site terms ](//www.google.com/intl/en/policies/terms/regional.html)
* [ Google Cloud terms ](/product-terms/)
* Manage cookies
* [ Our third decade of climate action: join us ](/sustainability)
* Sign up for the Google Cloud newsletter... | |
django_CharField/workingwithjson_345_0.txt | Send feedback | |
django_CharField/jsondata_147_0.txt | * [ Get started with geospatial analytics ](/bigquery/docs/geospatial-get-started)
* [ Use geospatial analytics to plot a hurricane's path ](/bigquery/docs/geospatial-tutorial-hurricane) | |
django_CharField/workingwithjson_145_0.txt |
The following sample shows how to add a ` JSON ` column called ` VenueDetails
` to the ` Venues ` table using the Spanner client libraries. | |
django_CharField/django_CharField_53_1.txt | els.py ` is
imported:
from django.conf import settings
from django.contrib.auth import get_user_model
from django.db import models
def get_sentinel_user():
return get_user_model().objects.get_or_create(username="deleted")[0]
class MyModel(models.Model):
... | |
django_CharField/jsondata_64_0.txt | * [ Introduction ](/bigquery/docs/materialized-views-intro)
* [ Create materialized views ](/bigquery/docs/materialized-views-create)
* [ Create materialized view replicas ](/bigquery/docs/materialized-view-replicas-create)
* [ Use materialized views ](/bigquery/docs/materialized-views-use) | |
django_CharField/jsondata_411_0.txt |
When you extract a JSON field with a ` null ` value, the behavior depends on
the function: | |
django_CharField/workingwithjson_75_0.txt | * [ In GoogleSQL-dialect databases ](/spanner/docs/commit-timestamp)
* [ In PostgreSQL-dialect databases ](/spanner/docs/commit-timestamp-postgresql) | |
django_CharField/jsondata_27_0.txt | * [ Explore the console ](/bigquery/docs/bigquery-web-ui)
* [ Explore the command-line tool ](/bigquery/docs/bq-command-line-tool)
* [ Query using the client libraries ](/bigquery/docs/quickstarts/quickstart-client-libraries) | |
django_CharField/workingwithjson_331_0.txt | To learn how to install and use the client library for Spanner, see [ Spanner
client libraries ](/spanner/docs/reference/libraries) . | |
django_CharField/607740_13_0.txt | * [ Databases ](/gc/Databases/bd-p/cloud-database) | |
django_CharField/workingwithjson_268_0.txt | rows = [{
VenueId: 1,
VenueDetails: { rating: 9, open: true }
}]
client.update "Venues", rows | |
django_CharField/607740_44_0.txt | [ Log in to ask a question
](https://www.googlecloudcommunity.com/gc/user/userloginpage?dest_url=https%3A%2F%2Fwww.googlecloudcommunity.com%2Fgc%2FIntegration-
Services%2FApplication-Integration-json-scheme-number-parameter-
issue%2Fm-p%2F607740) | |
django_CharField/jsondata_7_0.txt | [ Related sites ](https://cloud.google.com/) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.