Skip to content

Commit 951a55e

Browse files
committed
changed N1Ql to SQL++
1 parent 081811c commit 951a55e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorial/markdown/python/streamlit/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Example JSON document:
5656
```
5757
Couchbase Uses JSON because:
5858
- **Flexible Schema**: No predefined structure, allowing easy adaptation to changing requirements.
59-
- **Efficient Querying**: Uses SQL-like N1QL queries for fast data retrieval.
59+
- **Efficient Querying**: Uses SQL-like SQL++ queries for fast data retrieval.
6060
- **Scalability**: Distributed architecture supports large-scale applications.
6161
- **Natural Data Representation**: JSON structure aligns well with modern application objects.
6262

@@ -185,7 +185,7 @@ def get_all_airports(_connection):
185185

186186
`get_routes_for_airports(_connection, selected_airports_df)`: Retrieves routes between selected airports.
187187

188-
This function fetches route information from the `route` collection in the `travel-sample.inventory` dataset based on selected airports. The function first constructs a list of FAA codes from `selected_airports_df`, formatting it as a valid N1QL query list. It then executes a query to find routes where both the source and destination airports match the selected FAA codes. The results are extracted from the query response and returned as a Pandas DataFrame.
188+
This function fetches route information from the `route` collection in the `travel-sample.inventory` dataset based on selected airports. The function first constructs a list of FAA codes from `selected_airports_df`, formatting it as a valid SQL++ query list. It then executes a query to find routes where both the source and destination airports match the selected FAA codes. The results are extracted from the query response and returned as a Pandas DataFrame.
189189

190190
```python
191191
@st.cache_data
@@ -734,7 +734,7 @@ Here are some helpful resources for learning more about Couchbase and Streamlit:
734734
- [Couchbase Python SDK Compatibility](https://docs.couchbase.com/python-sdk/current/project-docs/compatibility.html#python-version-compat)
735735
- [Getting Started with Couchbase Capella](https://docs.couchbase.com/cloud/get-started/intro.html)
736736
- [Connecting to Couchbase Capella](https://docs.couchbase.com/cloud/get-started/connect.html#prerequisites)
737-
- [N1QL Query Language Guide](https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/index.html)
737+
- [SQL++ Query Language Guide](https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/index.html)
738738
- [Couchbase SDKs Overview](https://docs.couchbase.com/home/sdk.html)
739739

740740
### **Streamlit Documentation**

0 commit comments

Comments
 (0)