Update content/influxdb/cloud-serverless/reference/client-libraries/v3/java.md

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
pull/5529/head
Suyash Joshi 2024-07-24 11:39:19 +01:00 committed by GitHub
parent 9116463032
commit 727b298f46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ To use Gradle to install the client library in your project, add the following t
implementation group: 'com.influxdb', name: 'influxdb3-java', version: 'latest.release'
```
## Sample Code
## Example: write and query data
The following example shows how to use `influxdb3-java` to write and query data stored in {{% product-name %}}:
```java
public class HelloInfluxDB {