Skip to content

Commit

Permalink
Merge pull request #126 from HarperDB/sql-warnings
Browse files Browse the repository at this point in the history
Add warning to the top of SQL pages
  • Loading branch information
jcohen-hdb authored Nov 19, 2024
2 parents 1fcbfdc + 950770d commit e7aff7f
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/developers/operations-api/sql-operations.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% hint style="warning" %}
HarperDB encourages developers to utilize other querying tools over SQL for performance purposes. HarperDB SQL is intended for data investigation purposes and uses cases where performance is not a priority. SQL optimizations are on our roadmap for the future.
{% endhint %}

# SQL Operations

## Select
Expand Down
4 changes: 4 additions & 0 deletions docs/developers/sql-guide/date-functions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% hint style="warning" %}
HarperDB encourages developers to utilize other querying tools over SQL for performance purposes. HarperDB SQL is intended for data investigation purposes and uses cases where performance is not a priority. SQL optimizations are on our roadmap for the future.
{% endhint %}

# SQL Date Functions

HarperDB utilizes [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time) in all internal SQL operations. This means that date values passed into any of the functions below will be assumed to be in UTC or in a format that can be translated to UTC.
Expand Down
4 changes: 4 additions & 0 deletions docs/developers/sql-guide/features-matrix.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% hint style="warning" %}
HarperDB encourages developers to utilize other querying tools over SQL for performance purposes. HarperDB SQL is intended for data investigation purposes and uses cases where performance is not a priority. SQL optimizations are on our roadmap for the future.
{% endhint %}

# SQL Features Matrix

HarperDB provides access to most SQL functions, and we’re always expanding that list. Check below to see if we cover what you need. If not, feel free to [add a Feature Request](https://feedback.harperdb.io/).
Expand Down
4 changes: 4 additions & 0 deletions docs/developers/sql-guide/functions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% hint style="warning" %}
HarperDB encourages developers to utilize other querying tools over SQL for performance purposes. HarperDB SQL is intended for data investigation purposes and uses cases where performance is not a priority. SQL optimizations are on our roadmap for the future.
{% endhint %}

# HarperDB SQL Functions

This SQL keywords reference contains the SQL functions available in HarperDB.
Expand Down
4 changes: 4 additions & 0 deletions docs/developers/sql-guide/json-search.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% hint style="warning" %}
HarperDB encourages developers to utilize other querying tools over SQL for performance purposes. HarperDB SQL is intended for data investigation purposes and uses cases where performance is not a priority. SQL optimizations are on our roadmap for the future.
{% endhint %}

# SQL JSON Search

HarperDB automatically indexes all top level attributes in a row / object written to a table. However, any attributes which hold JSON data do not have their nested attributes indexed. In order to make searching and/or transforming these JSON documents easy, HarperDB offers a special SQL function called SEARCH\_JSON. The SEARCH\_JSON function works in SELECT & WHERE clauses allowing queries to perform powerful filtering on any element of your JSON by implementing the [JSONata library](http://docs.jsonata.org/overview.html) into our SQL engine.
Expand Down
4 changes: 4 additions & 0 deletions docs/developers/sql-guide/reserved-word.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% hint style="warning" %}
HarperDB encourages developers to utilize other querying tools over SQL for performance purposes. HarperDB SQL is intended for data investigation purposes and uses cases where performance is not a priority. SQL optimizations are on our roadmap for the future.
{% endhint %}

# HarperDB SQL Reserved Words

This is a list of reserved words in the SQL Parser. Use of these words or symbols may result in unexpected behavior or inaccessible tables/attributes. If any of these words must be used, any SQL call referencing a database, table, or attribute must have backticks (``) or brackets ([]) around the variable.
Expand Down
4 changes: 4 additions & 0 deletions docs/developers/sql-guide/sql-geospatial-functions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% hint style="warning" %}
HarperDB encourages developers to utilize other querying tools over SQL for performance purposes. HarperDB SQL is intended for data investigation purposes and uses cases where performance is not a priority. SQL optimizations are on our roadmap for the future.
{% endhint %}

# SQL Geospatial Functions

HarperDB geospatial features require data to be stored in a single column using the [GeoJSON standard](http://geojson.org/), a standard commonly used in geospatial technologies. Geospatial functions are available to be used in SQL statements.
Expand Down

0 comments on commit e7aff7f

Please sign in to comment.