id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
django_CharField/workingwithjson_309_0.txt
// Gets a reference to a Cloud Spanner instance and database. const instance = spanner.instance(instanceId); const database = instance.database(databaseId);
django_CharField/jsondata_150_0.txt
* [ Introduction ](/bigquery/docs/notebooks-introduction) * [ Create notebooks ](/bigquery/docs/create-notebooks) * [ Explore query results ](/bigquery/docs/explore-data-colab)
django_CharField/jsondata_94_0.txt
* [ Introduction ](/bigquery/docs/merchant-center-transfer) * [ Schedule transfers ](/bigquery/docs/merchant-center-transfer-schedule-transfers) * Transfer report schema
django_CharField/jsondata_254_0.txt
* [ Use differential privacy ](/bigquery/docs/differential-privacy) * [ Extend differential privacy ](/bigquery/docs/extend-differential-privacy)
django_CharField/607740_103_0.txt
https://www.googlecloudcommunity.com/html/@BA4B8F5B12739C28A35AEDB252AA7576/assets/google- copy-url-icon.png) Copy URL
django_CharField/django_CharField_12_0.txt
### ` error_messages ` ¶ ` Field. ` ` error_messages ` ¶ The ` error_messages ` argument lets you override the default messages that the field will raise. Pass in a dictionary with keys matching the error messages you want to override. Error message keys include ` null ` , ` blank ` , ` invalid ` , ` i...
django_CharField/jsondata_200_0.txt
* [ Process documents ](/bigquery/docs/process-document)
django_CharField/607740_102_0.txt
![copyURLs](
django_CharField/jsondata_161_0.txt
* [ Generative AI overview ](/bigquery/docs/generative-ai-overview) * [ Choose a text embedding model ](/bigquery/docs/choose-text-embedding-model)
django_CharField/workingwithjson_188_0.txt
request = spanner_database_admin.UpdateDatabaseDdlRequest( database=database_admin_api.database_path( spanner_client.project, instance_id, database_id ), statements=["ALTER TABLE Venues ADD COLUMN VenueDetails JSON"], )
django_CharField/workingwithjson_151_0.txt
using var connection = new SpannerConnection(connectionString); using var updateCmd = connection.CreateDdlCommand(alterStatement); await updateCmd.ExecuteNonQueryAsync(); Console.WriteLine("Added the VenueDetails column."); } }
django_CharField/workingwithjson_296_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_201_0.txt
| 1
django_CharField/workingwithjson_328_0.txt
with database.snapshot() as snapshot: results = snapshot.execute_sql( "SELECT VenueId, VenueDetails " "FROM Venues " "WHERE JSON_VALUE(VenueDetails, '$.rating') = " "JSON_VALUE(@details, '$.rating')", params=param, param_types=param_type, )
django_CharField/607740_1_0.txt
[ Accept ](https://www.googlecloudcommunity.com/gc/forums/v5/forumtopicpage.cookiebanneralertv2.link:acceptcookieevent?t:ac=board- id/cloud-integration-services/message- id/353&t:cp=gdprcookiebanner/contributions/cookiebannercontributionpage)
django_CharField/607740_93_0.txt
Posted on \--/--/---- --:-- AM
django_CharField/607740_109_0.txt
Reply posted on \--/--/---- --:-- AM
django_CharField/jsondata_262_0.txt
* [ Run jobs programmatically ](/bigquery/docs/running-jobs) * [ Paginate with BigQuery API ](/bigquery/docs/paging-results) * [ API performance tips ](/bigquery/docs/api-performance) * [ Batch requests ](/bigquery/batch)
django_CharField/607740_36_0.txt
All community This category This board Knowledge base Users cancel
django_CharField/jsondatahtml_63_0.txt
#include "base/scoped_ptr.h" #include "googleapis/client/data/jsoncpp_data.h" using googleapis::client::JsonCppData; using googleapis::client::JsonCppDataCapsule;
django_CharField/jsondata_160_0.txt
* [ Introduction ](/bigquery/docs/bqml-introduction) * Generative AI
django_CharField/jsondatahtml_26_0.txt
File::FileIndexableText& indexable_text = file->mutable_indexableText(); indexable_text.set_text(kText);
django_CharField/jsondata_282_0.txt
### SQL
django_CharField/workingwithjson_282_0.txt
using Google.Cloud.Spanner.Data; using Newtonsoft.Json; using System.Collections.Generic; using System.Threading.Tasks;
django_CharField/jsondata_37_0.txt
* IBM Netezza
django_CharField/workingwithjson_198_0.txt
statements = ["ALTER TABLE Venues ADD COLUMN VenueDetails JSON"] job = db_admin_client.update_database_ddl database: database_path, statements: statements job.wait_until_done!
django_CharField/607740_156_0.txt
[ Reply ]()
django_CharField/jsondatahtml_22_0.txt
using google_drive_api::File; using googleapis::client::JsonCppData; using googleapis::client::JsonCppDataCapsule; using googleapis::client::DateTime;
django_CharField/jsondata_106_0.txt
* ServiceNow
django_CharField/workingwithjson_79_0.txt
* [ Data Boost overview ](/spanner/docs/databoost/databoost-overview) * [ Run federated queries with Data Boost ](/spanner/docs/databoost/databoost-run-queries) * [ Export data with Data Boost ](/spanner/docs/databoost/databoost-export) * [ Use Data Boost in your applications ](/spanner/docs/databoost/databoost-app...
django_CharField/jsondatahtml_25_0.txt
file->set_createdDate(now); // Date-Time file->set_description("Sample File"); // string file->set_editable(true); // boolean file->set_fileSize(size); // int64 (string with int64 format)
django_CharField/jsondata_249_0.txt
* [ Introduction to row-level security ](/bigquery/docs/row-level-security-intro) * [ Work with row-level security ](/bigquery/docs/managing-row-level-security) * [ Use row-level security with other BigQuery features ](/bigquery/docs/using-row-level-security-with-features) * [ Best practices for row-level security ...
django_CharField/jsondata_312_0.txt
SELECT TO_JSON(STRUCT(1 AS id, [10,20] AS coordinates)) AS pt;
django_CharField/607740_77_0.txt
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "Data": { "type": "object", "properties": { "Request": { "type": "object", "properties": { "Top": { "type": "number" }, "Skip": { "type": "number" }, } } } } } }
django_CharField/jsondata_186_0.txt
* [ Create a k-means model ](/bigquery/docs/kmeans-tutorial)
django_CharField/workingwithjson_319_0.txt
/** * Queries sample data from the database using SQL with a NUMERIC parameter. * Example: * ``` * query_data_with_json_parameter($instanceId, $databaseId); * ``` * * @param string $instanceId The Spanner instance ID. * @param string $databaseId The Spanner database ID. */ function query_data_with_json_parameter(string...
django_CharField/workingwithjson_130_0.txt
* JSON can be nested to a maximum of 80 levels. * Whitespace is not preserved. * Comments are not supported. Transactions or queries with comments will fail. * Members of a JSON object are sorted lexicographically. * JSON array elements have their order preserved. * If a JSON object has duplicate keys, only the first o...
django_CharField/workingwithjson_262_0.txt
### Ruby
django_CharField/workingwithjson_119_0.txt
* [ Google Cloud Home ](/) * [ Free Trial and Free Tier ](/free) * [ Architecture Center ](/architecture) * [ Blog ](https://cloud.google.com/blog) * [ Contact Sales ](/contact) * [ Google Cloud Developer Center ](/developers) * [ Google Developer Center ](https://developers.google.com/) * [ Google Cloud Marketp...
django_CharField/django_CharField_0_0.txt
# Model field reference ¶ This document contains all the API references of ` Field ` including the field options and field types Django offers. See also If the built-in fields don’t do the trick, you can try [ django-localflavor ](https://github.com/django/django-localflavor) ( [ documentation ](https://djang...
django_CharField/jsondata_70_0.txt
* [ Introduction ](/bigquery/docs/search-intro) * [ Manage search indexes ](/bigquery/docs/search-index)
django_CharField/workingwithjson_77_0.txt
* [ Sessions ](/spanner/docs/sessions) * [ SQL best practices ](/spanner/docs/sql-best-practices) * Read data
django_CharField/workingwithjson_297_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_144_0.txt
ALTER TABLE Venues ADD COLUMN VenueDetails JSON; ALTER TABLE Venues DROP COLUMN VenueDetails;
django_CharField/jsondata_87_0.txt
* Facebook Ads
django_CharField/workingwithjson_84_0.txt
* Work with data types
django_CharField/607740_104_0.txt
![vsy](https://lh3.googleusercontent.com/a/ACg8ocIH2xKbnky_On94sKbNwiIbvh70mpgeV2GdRX3S15utw45Dvt0=s96-c)
django_CharField/workingwithjson_274_0.txt
### C++
django_CharField/workingwithjson_50_0.txt
* [ Data encryption in transit ](/spanner/docs/encryption-in-transit)
django_CharField/django_CharField_32_1.txt
a subdirectory of [ ` MEDIA_ROOT ` ](../../settings/#std-setting-MEDIA_ROOT) to use for uploaded files. 3. All that will be stored in your database is a path to the file (relative to [ ` MEDIA_ROOT ` ](../../settings/#std-setting-MEDIA_ROOT) ). You’ll most likely want to use the convenience ` url ` attribute pro...
django_CharField/607740_91_0.txt
1 ACCEPTED SOLUTION
django_CharField/django_CharField_41_0.txt
### ` PositiveBigIntegerField ` ¶ _ class _ ` PositiveBigIntegerField ` ( _ ** options _ ) ¶ Like a ` PositiveIntegerField ` , but only allows values under a certain (database-dependent) point. Values from ` 0 ` to ` 9223372036854775807 ` are safe in all databases supported by Django.
django_CharField/workingwithjson_292_0.txt
// queryWithJsonParameter queries data on the JSON type column of the database func queryWithJsonParameter(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(ma...
django_CharField/jsondatahtml_54_0.txt
## JsonCppData Reference
django_CharField/jsondata_361_0.txt
You can also use the JSON subscript operator to reference the members of a JSON object by name:
django_CharField/django_CharField_36_0.txt
### ` GeneratedField ` ¶ New in Django 5.0. _ class _ ` GeneratedField ` ( _ expression _ , _ output_field _ , _ db_persist = None _ , _ ** kwargs _ ) ¶ A field that is always computed based on other fields in the model. This field is managed and updated by the database itself. Uses the ` GENERATED...
django_CharField/jsondata_109_0.txt
* [ Schedule transfers ](/bigquery/docs/youtube-channel-transfer) * [ Transfer report transformation ](/bigquery/docs/youtube-channel-transformation)
django_CharField/jsondata_5_0.txt
close
django_CharField/workingwithjson_29_0.txt
* [ Instances overview ](/spanner/docs/instances) * [ Nodes and processing units ](/spanner/docs/compute-capacity) * [ Regional and multi-region configurations ](/spanner/docs/instance-configurations) * [ Replication ](/spanner/docs/replication) * [ Leader-aware routing ](/spanner/docs/leader-aware-routing) * [ Gl...
django_CharField/jsondata_74_0.txt
* Load data
django_CharField/workingwithjson_204_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/django_CharField_10_0.txt
### ` default ` ¶ ` Field. ` ` default ` ¶ The default value for the field. This can be a value or a callable object. If callable it will be called every time a new object is created. The default can’t be a mutable object (model instance, ` list ` , ` set ` , etc.), as a reference to the same instance of...
django_CharField/workingwithjson_322_0.txt
foreach ($results as $row) { printf( 'VenueId: %s, VenueDetails: %s' . PHP_EOL, $row['VenueId'], $row['VenueDetails'] ); } }
django_CharField/jsondata_327_0.txt
The following example assumes that you have a file named ` file1.jsonl ` that contains the following records:
django_CharField/workingwithjson_168_0.txt
// creates a client const spanner = new Spanner({ projectId: projectId, });
django_CharField/workingwithjson_223_0.txt
details_1 := spanner.NullJSON{Value: []VenueDetails{ {Name: spanner.NullString{StringVal: "room1", Valid: true}, Open: true}, {Name: spanner.NullString{StringVal: "room2", Valid: true}, Open: false}, }, Valid: true} details_2 := spanner.NullJSON{Value: VenueDetails{ Rating: spanner.NullFloat64{Float64: 9, Valid: true},...
django_CharField/workingwithjson_343_0.txt
## References
django_CharField/jsondata_102_0.txt
* Salesforce Marketing Cloud
django_CharField/607740_131_0.txt
https://www.googlecloudcommunity.com/html/@17707BECA4EAD3896FBAF17C64C2ABD8/assets/gcc-linkedin.svg) LinkedIn
django_CharField/workingwithjson_109_0.txt
* [ Key Visualizer overview ](/spanner/docs/key-visualizer) * [ Get started with Key Visualizer ](/spanner/docs/key-visualizer/getting-started) * [ Explore Key Visualizer heatmaps ](/spanner/docs/key-visualizer/exploring-heatmaps) * [ Key Visualizer heatmap patterns ](/spanner/docs/key-visualizer/patterns) * [ Key ...
django_CharField/jsondata_258_0.txt
* Develop
django_CharField/jsondata_296_0.txt
* Use SQL to create a [ ` JSON ` literal ](/bigquery/docs/reference/standard-sql/lexical#json_literals) . * Use the [ ` PARSE_JSON ` ](/bigquery/docs/reference/standard-sql/json_functions#parse_json) function to convert a ` STRING ` value to a ` JSON ` value. * Use the [ ` TO_JSON ` ](/bigquery/docs/reference/standard-...
django_CharField/607740_195_0.txt
* [ API Hub ](/gc/forums/filteredbylabelpage/board-id/cloud-integration-services/label-name/api%20hub) 1 * [ API Runtime ](/gc/forums/filteredbylabelpage/board-id/cloud-integration-services/label-name/api%20runtime) 1 * [ Apigee General ](/gc/forums/filteredbylabelpage/board-id/cloud-integration-services/label-name/...
django_CharField/jsondata_66_0.txt
* [ Manage routines ](/bigquery/docs/routines) * [ User-defined functions ](/bigquery/docs/user-defined-functions) * [ User-defined aggregate functions ](/bigquery/docs/user-defined-aggregates) * [ Table functions ](/bigquery/docs/table-functions) * [ Remote functions ](/bigquery/docs/remote-functions) * [ SQL sto...
django_CharField/workingwithjson_23_0.txt
* Drivers
django_CharField/workingwithjson_308_0.txt
// Creates a client const spanner = new Spanner({ projectId: projectId, });
django_CharField/workingwithjson_80_0.txt
* Modify data
django_CharField/jsondata_409_0.txt
SELECT JSON 'null' IS NULL;
django_CharField/jsondatahtml_37_0.txt
string str = now.ToString(); DateTime from_str(str); }
django_CharField/django_CharField_5_0.txt
### ` db_column ` ¶ ` Field. ` ` db_column ` ¶ The name of the database column to use for this field. If this isn’t given, Django will use the field’s name. If your database column name is an SQL reserved word, or contains characters that aren’t allowed in Python variable names – notably, the hyphen – that...
django_CharField/jsondatahtml_9_0.txt
1. Basic Concepts 2. Typical Use Case Examples 1. Simple Structures 2. Dates and Times 3. Arrays 4. Associative Arrays 3. JsonCppData Reference 1. The JsonCppData base class 2. JsonCppDataArray 3. JsonCppDataAssociativeArray
django_CharField/jsondata_203_0.txt
* Computer vision
django_CharField/jsondatahtml_59_0.txt
` JsonCppData ` is implemented using the external [ open source JsonCpp ](http://jsoncpp.sourceforge.net/) library for convienence, with a more standard C++ API on top of it so that the specialized data objects generated for service-specific APIs look and feel more like C++. The resulting class has some quirks due to l...
django_CharField/jsondatahtml_8_0.txt
## Contents
django_CharField/607740_8_0.txt
* [ ⚡Cloud Hub ](/gc/Cloud-Hub/bd-p/cloud-hub)
django_CharField/workingwithjson_47_0.txt
* Data encryption
django_CharField/jsondata_121_0.txt
* [ Export to file ](/bigquery/docs/export-file) * [ Export to Cloud Storage ](/bigquery/docs/exporting-data) * [ Export to Bigtable ](/bigquery/docs/export-to-bigtable) * [ Export as Protobuf columns ](/bigquery/docs/protobuf-export)
django_CharField/django_CharField_3_0.txt
### ` choices ` ¶ ` Field. ` ` choices ` ¶ A mapping or iterable in the format described below to use as choices for this field. If choices are given, they’re enforced by [ model validation ](../instances/#validating-objects) and the default form widget will be a select box with these choices instead of the...
django_CharField/workingwithjson_148_0.txt
### C#
django_CharField/jsondata_372_0.txt
+---------+-------------+ | address | item1_price | +---------+-------------+ | NULL | NULL | | NULL | 5 | +---------+-------------+
django_CharField/607740_66_0.txt
Reply posted on \--/--/---- --:-- AM
django_CharField/607740_147_0.txt
A. You can change the schema version to draft-07 then the integer validation should succeed and you will no longer get this error.
django_CharField/607740_2_0.txt
[ Reject ](https://www.googlecloudcommunity.com/gc/forums/v5/forumtopicpage.cookiebanneralertv2.link_0:rejectcookieevent?t:ac=board- id/cloud-integration-services/message- id/353&t:cp=gdprcookiebanner/contributions/cookiebannercontributionpage)
django_CharField/workingwithjson_76_0.txt
* [ TrueTime and external consistency ](/spanner/docs/true-time-external-consistency) * [ Throughput optimized writes ](/spanner/docs/throughput-optimized-writes) * [ Retrieve commit statistics for a transaction ](/spanner/docs/commit-statistics)
django_CharField/jsondata_140_0.txt
* [ Federated queries ](/bigquery/docs/federated-queries-intro) * [ Query SAP Datasphere data ](/bigquery/docs/sap-datasphere-federated-queries) * [ Query Cloud Spanner data ](/bigquery/docs/cloud-spanner-federated-queries) * [ Query Cloud SQL data ](/bigquery/docs/cloud-sql-federated-queries)
django_CharField/jsondata_394_0.txt
### Extract arrays from JSON
django_CharField/jsondatahtml_19_0.txt
## Typical Use Case Examples
django_CharField/607740_30_0.txt
* [ Cloud Product Articles ](/gc/Cloud-Product-Articles/tkb-p/cloud-articles)
django_CharField/workingwithjson_113_0.txt
* [ With OpenTelemetry ](/spanner/docs/capture-visualize-latency) * [ With OpenCensus ](/spanner/docs/capture-visualize-latency-opencensus)
django_CharField/jsondata_348_0.txt
For more information, see [ Streaming data into BigQuery ](/bigquery/docs/streaming-data-into-bigquery#streaminginsertexamples) .