id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
django_CharField/django_CharField_40_0.txt | ### ` JSONField ` ¶
_ class _ ` JSONField ` ( _ encoder = None _ , _ decoder = None _ , _
** options _ ) ¶
A field for storing JSON encoded data. In Python the data is represented in
its Python native format: dictionaries, lists, strings, numbers, booleans and
` None ` .
` JSONField ` is support... | |
django_CharField/workingwithjson_72_0.txt | * [ Spanner with Active Record ](/spanner/docs/use-active-record)
* [ Spanner with Entity Framework Core ](/spanner/docs/use-entity-framework) | |
django_CharField/workingwithjson_259_0.txt | database = instance.database(database_id) | |
django_CharField/jsondata_218_0.txt | * [ Introduction to legacy reservations ](/bigquery/docs/reservations-intro-legacy)
* [ Legacy slot reservations ](/bigquery/docs/reservations-workload-management-legacy)
* [ Legacy slot commitments ](/bigquery/docs/reservations-details-legacy)
* [ Purchase and manage legacy slot commitments ](/bigquery/docs/reserv... | |
django_CharField/workingwithjson_107_0.txt | * [ Query execution plans ](/spanner/docs/query-execution-plans)
* [ Identify transactions that cause high latencies ](/spanner/docs/use-lock-and-transaction-insights)
* [ Tune a query using the query plan visualizer ](/spanner/docs/tune-query-with-visualizer) | |
django_CharField/workingwithjson_105_0.txt | * [ Analyze query performance ](/spanner/docs/using-query-insights)
* Query optimizer | |
django_CharField/workingwithjson_83_0.txt | * [ Modify data using mutations ](/spanner/docs/modify-mutation-api)
* [ Compare DML with mutations ](/spanner/docs/dml-versus-mutations)
* [ Modify data using batch write ](/spanner/docs/batch-write) | |
django_CharField/jsondata_197_0.txt | * Export models | |
django_CharField/jsondata_136_0.txt | * [ Query Cloud Bigtable data ](/bigquery/docs/external-data-bigtable)
* Cloud Storage data | |
django_CharField/workingwithjson_162_0.txt | addJsonColumn(projectId, instanceId, databaseId);
} | |
django_CharField/workingwithjson_312_0.txt | const query = {
sql: `SELECT VenueId, VenueDetails FROM Venues
WHERE JSON_VALUE(VenueDetails, '$.rating') = JSON_VALUE(@details, '$.rating')`,
params: {
details: jsonValue,
},
types: {
details: fieldType,
},
}; | |
django_CharField/workingwithjson_333_0.txt | # project_id = "Your Google Cloud project ID"
# instance_id = "Your Spanner instance ID"
# database_id = "Your Spanner database ID" | |
django_CharField/workingwithjson_143_0.txt | A JSON column can also be added to and dropped from existing tables. | |
django_CharField/workingwithjson_20_0.txt | * [ Use the Google Cloud console ](/spanner/docs/create-query-database-console)
* [ Use the gcloud CLI ](/spanner/docs/getting-started/gcloud) | |
django_CharField/workingwithjson_306_0.txt | // Imports the Google Cloud client library.
const {Spanner} = require('@google-cloud/spanner'); | |
django_CharField/jsondata_388_0.txt | You can convert a ` JSON ` value to a scalar SQL value flexibly and error-free
with [ ` LAX Conversion ` ](/bigquery/docs/reference/standard-
sql/json_functions#lax_converters) functions. | |
django_CharField/607740_37_0.txt | [ Turn on suggestions
](https://www.googlecloudcommunity.com/gc/forums/v5/forumtopicpage.enableautocomplete:enableautocomplete?t:ac=board-
id/cloud-integration-services/message-
id/353&t:cp=action/contributions/searchactions) | |
django_CharField/jsondata_55_0.txt | * [ Introduction ](/bigquery/docs/clustered-tables)
* [ Create and use clustered tables ](/bigquery/docs/creating-clustered-tables)
* [ Query clustered tables ](/bigquery/docs/querying-clustered-tables) | |
django_CharField/workingwithjson_208_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_56_0.txt | * External tables | |
django_CharField/jsondata_313_0.txt |
The result is the following: | |
django_CharField/jsondata_289_0.txt | For more information about how to run queries, see [ Run an interactive query
](/bigquery/docs/running-queries#queries) . | |
django_CharField/jsondata_95_0.txt | * [ Best Sellers table schema ](/bigquery/docs/merchant-center-best-sellers-schema)
* [ Local Inventories table schema ](/bigquery/docs/merchant-center-local-inventories-schema)
* [ Performance table schema ](/bigquery/docs/merchant-center-performance-schema)
* [ Price Benchmarks table schema ](/bigquery/docs/merch... | |
django_CharField/jsondata_100_0.txt | * Salesforce | |
django_CharField/workingwithjson_181_0.txt | print('Waiting for operation to complete...' . PHP_EOL);
$operation->pollUntilComplete(); | |
django_CharField/jsondata_16_0.txt | * [ Documentation ](/docs)
* [ Guides ](/bigquery/docs/introduction)
* [ Reference ](/bigquery/quotas)
* [ Samples ](/bigquery/docs/samples)
* [ Resources ](/bigquery/docs/release-notes)
* [ Technology areas ](/docs/tech-area-overviews)
* More
* [ Cross-product tools ](/docs/cross-product-overviews)
* More
* [ R... | |
django_CharField/607740_72_0.txt | {
"Source": "",
"Data": {
"Request": {
"Top": 0,
"Skip": 0
}
}
} | |
django_CharField/607740_100_0.txt | https://www.googlecloudcommunity.com/html/@B5A22F3583793003F868672DC13DF92B/assets/logotwitter.png) Twitter | |
django_CharField/jsondatahtml_36_0.txt | struct timeval tv;
now.GetTimeval(&tv);
DateTime from_timeval(tv); | |
django_CharField/607740_92_0.txt | [ ](/gc/Integration-Services/Application-Integration-json-scheme-number-
parameter-issue/m-p/607049#M346) | |
django_CharField/workingwithjson_219_0.txt | "cloud.google.com/go/spanner"
) | |
django_CharField/jsondata_38_0.txt | * [ Migrate from IBM Netezza ](/bigquery/docs/migration/netezza)
* [ SQL translation reference ](/bigquery/docs/migration/netezza-sql) | |
django_CharField/workingwithjson_112_0.txt | * [ Latency points in a Spanner request ](/spanner/docs/latency-points)
* [ Identify where latency occurs ](/spanner/docs/identify-latency-point)
* Examine latency in a component | |
django_CharField/workingwithjson_12_0.txt | * [ Spanner ](https://cloud.google.com/spanner) | |
django_CharField/jsondata_0_0.txt | [  ](/) | |
django_CharField/jsondata_397_0.txt | The following example uses ` JSON_QUERY_ARRAY ` to extract JSON arrays. | |
django_CharField/607740_187_0.txt | Post Reply | |
django_CharField/django_CharField_31_0.txt | ### ` EmailField ` ¶
_ class _ ` EmailField ` ( _ max_length = 254 _ , _ ** options _ ) ¶
A ` CharField ` that checks that the value is a valid email address using [
` EmailValidator ` ](../../validators/#django.core.validators.EmailValidator
"django.core.validators.EmailValidator") .
| |
django_CharField/jsondata_263_0.txt | * [ Choose a Python library ](/bigquery/docs/python-libraries)
* BigQuery DataFrames | |
django_CharField/jsondata_128_0.txt | * [ Use cached results ](/bigquery/docs/cached-results)
* [ Run parameterized queries ](/bigquery/docs/parameterized-queries)
* [ Query with wildcard tables ](/bigquery/docs/querying-wildcard-tables)
* [ Access historical data ](/bigquery/docs/access-historical-data)
* [ Schedule queries ](/bigquery/docs/schedulin... | |
django_CharField/django_CharField_53_0.txt | #### Arguments ¶
` ForeignKey ` accepts other arguments that define the details of how the
relation works.
` ForeignKey. ` ` on_delete ` ¶
When an object referenced by a ` ForeignKey ` is deleted, Django will
emulate the behavior of the SQL constraint specified by the ` on_delete `
argument. For examp... | |
django_CharField/workingwithjson_241_0.txt | // Creates a client.
const spanner = new Spanner({
projectId: projectId,
}); | |
django_CharField/jsondata_13_0.txt | [ Guides ](https://cloud.google.com/bigquery/docs/introduction) [ Reference
](https://cloud.google.com/bigquery/quotas) [ Samples
](https://cloud.google.com/bigquery/docs/samples) [ Resources
](https://cloud.google.com/bigquery/docs/release-notes) | |
django_CharField/jsondata_80_0.txt | * [ Introduction ](/bigquery/docs/blob-storage-transfer-intro)
* [ Schedule transfers ](/bigquery/docs/blob-storage-transfer)
* [ Transfer runtime parameters ](/bigquery/docs/blob-storage-transfer-parameters) | |
django_CharField/django_CharField_57_4.txt |
* ` DateField `
* ` DateTimeField `
* ` DecimalField `
* ` DurationField `
* ` EmailField `
* ` FileField `
* ` FileField ` and ` FieldFile `
* ` FilePathField `
* ` FloatField `
* ` GeneratedField `
* ` GenericIPAddressField `
* ` I... | |
django_CharField/607740_9_0.txt | * [ AI/ML ](/gc/AI-ML/bd-p/cloud-ai-ml) | |
django_CharField/jsondata_426_0.txt | * [ Contact sales ](/contact/)
* [ Find a Partner ](//cloud.google.com/find-a-partner)
* [ Become a Partner ](/partners/become-a-partner/)
* [ Events ](/events/)
* [ Podcasts ](/podcasts/)
* [ Developer Center ](/developers/)
* [ Press Corner ](https://www.googlecloudpresscorner.com/)
* [ Google Cloud on YouTube ](//ww... | |
django_CharField/jsondata_221_0.txt | * Manage jobs and queries | |
django_CharField/jsondata_287_0.txt | CREATE TABLE mydataset.table1(
id INT64,
cart JSON
); | |
django_CharField/workingwithjson_347_0.txt | Last updated 2024-04-24 UTC. | |
django_CharField/607740_189_0.txt | Preview Exit Preview | |
django_CharField/workingwithjson_117_0.txt | * [ AI solutions, generative AI, and ML ](/docs/ai-ml)
* [ Application development ](/docs/application-development)
* [ Application hosting ](/docs/application-hosting)
* [ Compute ](/docs/compute-area)
* [ Data analytics and pipelines ](/docs/data)
* [ Databases ](/docs/databases)
* [ Distributed, hybrid, and mu... | |
django_CharField/607740_63_0.txt | Bronze 4 | |
django_CharField/jsondata_61_0.txt | * Logical views | |
django_CharField/workingwithjson_329_0.txt | for row in results:
print("VenueId: {}, VenueDetails: {}".format(*row)) | |
django_CharField/607740_31_0.txt | * [ Community Resources ](/gc/Community-Resources/ct-p/cloud-getting-started) | |
django_CharField/jsondata_89_0.txt | * Google Ad Manager | |
django_CharField/jsondata_29_0.txt | * [ Overview ](/bigquery/docs/migration/migration-overview)
* Migrate a data warehouse | |
django_CharField/607740_82_0.txt | Solved! [ Go to Solution. ](/gc/Integration-Services/Application-Integration-
json-scheme-number-parameter-issue/m-p/607049#M346) | |
django_CharField/jsondata_188_0.txt | * [ Create a matrix factorization model to make movie recommendations ](/bigquery/docs/bigqueryml-mf-explicit-tutorial)
* [ Create a matrix factorization model to make recommendations from Google Analytics Data ](/bigquery/docs/bigqueryml-mf-implicit-tutorial) | |
django_CharField/jsondata_267_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/jsondata_90_0.txt | * [ Schedule transfers ](/bigquery/docs/doubleclick-publisher-transfer)
* [ Report transformation ](/bigquery/docs/doubleclick-publisher-transformation) | |
django_CharField/workingwithjson_269_0.txt | # VenueDetails must be specified as a string, as it contains a top-level
# array of objects that should be inserted into a JSON column. If we were
# to specify this value as an array instead of a string, the client
# library would encode this value as ARRAY<JSON> instead of JSON.
venue_details_string = [
{
name: "room ... | |
django_CharField/jsondatahtml_64_0.txt | class MyData : public JsonCppData {
public:
explicit MyData(const Json::Value& storage) : JsonCppData(storage) {}
explicit MyData(Json::Value* storage) : JsonCppData(storage) {} | |
django_CharField/workingwithjson_277_0.txt | void QueryWithJsonParameter(google::cloud::spanner::Client client) {
namespace spanner = ::google::cloud::spanner;
auto rating9_details = spanner::Json(R"""(
{"rating": 9}
)"""); // object
spanner::SqlStatement select(
"SELECT VenueId, VenueDetails"
" FROM Venues"
" WHERE JSON_VALUE(VenueDetails, '$.rating') ="
" ... | |
django_CharField/jsondata_151_0.txt | * [ Use Jupyter notebooks ](/bigquery/docs/visualize-jupyter) | |
django_CharField/workingwithjson_199_0.txt | puts "Added VenueDetails column to Venues table in database #{database_id}" | |
django_CharField/workingwithjson_34_0.txt | * [ Databases overview ](/spanner/docs/databases)
* [ Create and manage databases ](/spanner/docs/create-manage-databases)
* [ Prevent accidental database deletion ](/spanner/docs/prevent-database-deletion)
* [ Modify the leader region of a database ](/spanner/docs/modifying-leader-region) | |
django_CharField/jsondata_42_0.txt | * [ Migration guide ](/bigquery/docs/migration/snowflake-overview)
* [ SQL translation reference ](/bigquery/docs/migration/snowflake-sql) | |
django_CharField/jsondata_125_0.txt | * [ Introduction ](/bigquery/docs/introduction-sql)
* [ Arrays ](/bigquery/docs/arrays)
* [ JSON data ](/bigquery/docs/json-data)
* [ Sketches ](/bigquery/docs/sketches)
* [ Multi-statement queries ](/bigquery/docs/multi-statement-queries)
* [ Recursive CTEs ](/bigquery/docs/recursive-ctes)
* [ Table sampling ](... | |
django_CharField/workingwithjson_67_0.txt | * [ Integrate with Spring Data JPA (GoogleSQL) ](/spanner/docs/use-spring-data-jpa)
* [ Integrate with Spring Data JPA (PostgreSQL) ](/spanner/docs/use-spring-data-jpa-postgresql) | |
django_CharField/607740_47_0.txt | Solved
 | |
django_CharField/607740_161_0.txt | https://www.googlecloudcommunity.com/html/@17707BECA4EAD3896FBAF17C64C2ABD8/assets/gcc-linkedin.svg) LinkedIn | |
django_CharField/jsondata_390_0.txt | SELECT LAX_INT64(JSON '"10"') AS id; | |
django_CharField/607740_68_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=334)
* * [ Permalink ](/gc/Integration-Services/Application-Integration-json-scheme-number-parameter-issue/m-p/605739/highlight/true#M334)
* [ Pri... | |
django_CharField/workingwithjson_97_0.txt | * Process and view data | |
django_CharField/jsondata_15_0.txt | [  ](/) | |
django_CharField/jsondatahtml_7_0.txt | This document discusses the JSON abstractions and implementations used by the
client library for Data Objects in generated Service APIs. | |
django_CharField/jsondata_339_0.txt |
Append the rows to the write stream as shown in the [ code example
](/bigquery/docs/write-api#write_data_using_the_python_client) . The client
library handles serialization to protocol buffer format. | |
django_CharField/jsondata_323_0.txt | bq load --source_format=CSV mydataset.table1 file1.csv id:INTEGER,json_data:JSON | |
django_CharField/jsondata_138_0.txt | * [ Work with Salesforce Data Cloud data ](/bigquery/docs/salesforce-quickstart)
* [ Query Google Drive data ](/bigquery/docs/query-drive-data)
* [ Create AWS Glue federated datasets ](/bigquery/docs/glue-federated-datasets) | |
django_CharField/jsondata_201_0.txt | * Speech recognition | |
django_CharField/django_CharField_27_0.txt | ### ` DateField ` ¶
_ class _ ` DateField ` ( _ auto_now = False _ , _ auto_now_add = False
_ , _ ** options _ ) ¶
A date, represented in Python by a ` datetime.date ` instance. Has a few
extra, optional arguments:
` DateField. ` ` auto_now ` ¶
Automatically set the field to now every tim... | |
django_CharField/workingwithjson_238_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_270_0.txt | rows = [{
VenueId: 2,
VenueDetails: venue_details_string
}]
client.update "Venues", rows | |
django_CharField/workingwithjson_352_0.txt | * [ Infrastructure modernization ](/solutions/infrastructure-modernization/)
* [ Databases ](/solutions/databases/)
* [ Application modernization ](/solutions/application-modernization/)
* [ Smart analytics ](/solutions/smart-analytics/)
* [ Artificial Intelligence ](/solutions/ai/)
* [ Security ](/solutions/security/)... | |
django_CharField/jsondata_402_0.txt | +----+---------+
| id | product |
+----+---------+
| 1 | book |
| 1 | food |
| 2 | pen |
+----+---------+ | |
django_CharField/jsondata_329_0.txt |
To load this file using the bq command-line tool, use the [ ` bq load `
](/bigquery/docs/reference/bq-cli-reference#bq_load) command: | |
django_CharField/workingwithjson_279_0.txt | ### C# | |
django_CharField/workingwithjson_189_0.txt | operation = database_admin_api.update_database_ddl(request) | |
django_CharField/workingwithjson_42_0.txt | * [ Create and connect a Compute Engine VM instance to access Spanner ](/spanner/docs/configure-virtual-machine-instance)
* [ Connect to Spanner with a GKE cluster ](/spanner/docs/connect-gke-cluster)
* [ Connect to Spanner from other Google Cloud services ](/spanner/docs/integrate-google-cloud-platform)
* Secure an... | |
django_CharField/workingwithjson_302_0.txt | static void queryWithJsonParameter(DatabaseClient client) {
String exampleJson = "{\"rating\": 9}";
Statement statement =
Statement.newBuilder(
"SELECT VenueId, VenueDetails\n"
+ "FROM Venues\n"
+ "WHERE JSON_VALUE(VenueDetails, '$.rating') = "
+ "JSON_VALUE(@details, '$.rating')")
.bind("details")
.to(Value.json(examp... | |
django_CharField/workingwithjson_101_0.txt | * [ Warm up database before application launch ](/spanner/docs/pre-warm-database)
* Monitor and optimize | |
django_CharField/607740_140_0.txt | Staff | |
django_CharField/workingwithjson_15_0.txt | [  ](/) | |
django_CharField/jsondata_333_0.txt |
### Use the Storage Write API | |
django_CharField/jsondata_108_0.txt | * YouTube channel | |
django_CharField/jsondata_275_0.txt | JSON is a widely used format that allows for semi-structured data, because it
does not require a schema. Applications can use a "schema-on-read" approach,
where the application ingests the data and then queries based on assumptions
about the schema of that data. This approach differs from the ` STRUCT ` type
in BigQuer... | |
django_CharField/django_CharField_57_3.txt | gistering lookups on ` Field ` instances was added.
# Field attribute reference ¶
Every ` Field ` instance contains several attributes that allow introspecting
its behavior. Use these attributes instead of ` isinstance ` checks when you
need to write code that depends on a field’s functionality. These attribute... | |
django_CharField/jsondata_98_0.txt | * Oracle |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.