diff --git a/content/shared/v3-core-get-started/_index.md b/content/shared/v3-core-get-started/_index.md index 15f52cd84..e46bbcf38 100644 --- a/content/shared/v3-core-get-started/_index.md +++ b/content/shared/v3-core-get-started/_index.md @@ -468,7 +468,7 @@ def process_writes(influxdb3_local, table_batches, args=None): # here's an example of executing a parameterized query. Only SQL is supported. # It will query the database that the trigger is attached to by default. We'll # soon have support for querying other DBs. - query_result = influxdb3_local.query("SELECT * FROM cpu where host = $host", query_params) + query_result = influxdb3_local.query("SELECT * FROM cpu where host = '$host'", query_params) # the result is a list of Dict that have the column name as key and value as # value. If you run the WAL test plugin with your plugin against a DB that # you've written data into, you'll be able to see some results diff --git a/content/shared/v3-enterprise-get-started/_index.md b/content/shared/v3-enterprise-get-started/_index.md index a42459c7f..3fd80d2a8 100644 --- a/content/shared/v3-enterprise-get-started/_index.md +++ b/content/shared/v3-enterprise-get-started/_index.md @@ -471,7 +471,7 @@ def process_writes(influxdb3_local, table_batches, args=None): # here's an example of executing a parameterized query. Only SQL is supported. # It will query the database that the trigger is attached to by default. We'll # soon have support for querying other DBs. - query_result = influxdb3_local.query("SELECT * FROM cpu where host = $host", query_params) + query_result = influxdb3_local.query("SELECT * FROM cpu where host = '$host'", query_params) # the result is a list of Dict that have the column name as key and value as # value. If you run the WAL test plugin with your plugin against a DB that # you've written data into, you'll be able to see some results @@ -743,4 +743,4 @@ To accelerate performance on specific queries, you can define non-primary keys t Create Usage: $ influxdb3 file-index create --host=http://127.0.0.1:8585 -d -t Delete Usage: $ influxdb3 file-index delete --host=http://127.0.0.1:8585 -d -t
-``` \ No newline at end of file +```