Skip to content

Commit e5a0efd

Browse files
committed
Mainly links corrections
1 parent a10c442 commit e5a0efd

File tree

8 files changed

+10
-64
lines changed

8 files changed

+10
-64
lines changed

docs/clients/javascript/javascript_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The SeaTable JavaScript client encapsulates SeaTable Server Restful API. You can call it in your front-end page or Node.js program.
44

55
!!! warning "Two different clients"
6-
JavaScript API cannot be used for scripts in SeaTable bases. For script programming with JavaScript, there is a [separate chapter](../../scripts/javascript/basic_structure_js.md) in this documentation.
6+
JavaScript API cannot be used for scripts in SeaTable bases. For script programming with JavaScript, there is a [separate chapter](../../scripts/javascript/objects/index.md) in this documentation.
77

88
Note that JavaScript API calls SeaTable Server Restful API, whereas scripts in SeaTable bases interact with the base loaded in the browser, so the APIs of the two are somewhat different.
99

docs/scripts/javascript/objects/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
The JavaScript scripts run directly in the current browser and are suitable for simple data processing. JavaScript does not require any authentication.
44

5-
This manual list all available objects and methods (also called functions) that are available within JavaScript scripts in SeaTable. On top, normal JavaScript operations like `console.log` or calculations are working as usual. By running directly in SeaTable, JavaScript scripts have the ability to access the [base context](./context/). [Base utilities](./utilities/) and specific [output methods](./output/) are also available. Unless otherwise stated, **all method arguments are required**.
5+
This manual list all available objects and methods (also called functions) that are available within JavaScript scripts in SeaTable. On top, normal JavaScript operations like `console.log` or calculations are working as usual. By running directly in SeaTable, JavaScript scripts have the ability to access the [base context](./context.md). [Base utilities](./utilities.md) and specific [output methods](./output.md) are also available. Unless otherwise stated, **all method arguments are required**.
66

77
!!! warning "Two JavaScript APIs in SeaTable"
88

99
SeaTable offers two different ways to use JavaScript with SeaTable. You can executing a JavaScript script directly in SeaTable and there is a JavaScript Client API. The functions are similar but not identical.
10-
If you want to use a JavaScript script in SeaTable, stay at this section, otherwise switch to the [Client APIs](clients/javascript/javascript_api/).
10+
If you want to use a JavaScript script in SeaTable, stay at this section, otherwise switch to the [Client APIs](/clients/javascript/javascript_api).
1111

1212
## Data model
1313

docs/scripts/javascript/objects/rows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ You'll find below all the available methods to interact with the rows of a SeaTa
6565

6666
!!! abstract "query"
6767

68-
Use SQL to query a base. SQL queries are the most powerful way access data stored in a base. If your not familiar with SQL syntax, we recommend using first the [SQL query plugin](https://seatable.com/help/anleitung-zum-sql-abfrage-plugin/). Most SQL syntax is supported, you can check the [SQL Reference](../../sql/reference.md) section of this manual for more information.
68+
Use SQL to query a base. SQL queries are the most powerful way access data stored in a base. If your not familiar with SQL syntax, we recommend using first the [SQL query plugin](https://seatable.com/help/anleitung-zum-sql-abfrage-plugin/). Most SQL syntax is supported, you can check the [SQL Reference](/scripts/sql/introduction.md) section of this manual for more information.
6969

7070
``` js
7171
await/* (1)! */ base.query(sqlStatement: String);
@@ -76,7 +76,7 @@ You'll find below all the available methods to interact with the rows of a SeaTa
7676
!!! info "Backticks for table or column names containing or special characters or using reserved words"
7777
For SQL queries, you can use numbers, special characters or spaces in the names of your tables and columns. However, you'll **have to** escape these names with backticks in order for your query to be correctly interpreted, for example `` SELECT * FROM `My Table` ``.
7878

79-
Similarly, if some of your of table or column names are the same as [SQL function](./functions.md) names (for example a date-type column named `date`), you'll also **have to** escape them in order for the query interpreter to understand that it's not a function call missing parameters, but rather a table or column name.
79+
Similarly, if some of your of table or column names are the same as [SQL function](/scripts/sql/functions.md) names (for example a date-type column named `date`), you'll also **have to** escape them in order for the query interpreter to understand that it's not a function call missing parameters, but rather a table or column name.
8080

8181
__Output__ Array of row objects (single empty object if no row match the request's conditions)
8282

docs/scripts/python/authorization_python.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

docs/scripts/python/common_questions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113

114114
As presented in the [API Reference](https://api.seatable.com/reference/limits), batch operations such as `base.batch_append_rows`, `base.batch_update_rows`, `base.batch_delete_rows` or `base.batch_update_links` have a maximum number of 1000 rows. To deal with a higher number of rows, you could:
115115

116-
- Use an `INSERT`, `UPDATE` or `DELETE` [SQL query](../sql/reference.md#supported-sql-syntax) that can operate on an unlimited number of rows
116+
- Use an `INSERT`, `UPDATE` or `DELETE` [SQL query](/scripts/sql/introduction.md#supported-sql-syntax) that can operate on an unlimited number of rows
117117

118118
- Use a `while` loop to split you operation into 1000-rows chunks for example (however this won't exactly be a single operation anymore):
119119

docs/scripts/python/objects/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Predefined objects and methods (Python)
22

3-
This manual list all available objects and methods (also called functions) that are available within Python scripts in SeaTable. When running directly in SeaTable, Python scripts have the ability to access the [base context](./context). [Date utilities](./date-utils/) are also available.
3+
This manual list all available objects and methods (also called functions) that are available within Python scripts in SeaTable. When running directly in SeaTable, Python scripts have the ability to access the [base context](context.md). [Date utilities](date-utils.md) are also available.
44

55
If you compare JavaScript and Python, you will notice that Python has no specific output methods. This is not necessary, because the output is either written into the base or directly returned by the methods. Besides, you'll see that **Python methods never accepts objects** for table, view or row selection arguments, but only their names/`_ids` as strings. Unless otherwise stated, **all method arguments are required**.
66

docs/scripts/python/objects/rows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You'll find below all the available methods to interact with the rows of a SeaTa
6262

6363
!!! abstract "query"
6464

65-
Use SQL to query a base. SQL queries are the most powerful way access data stored in a base. If your not familiar with SQL syntax, we recommend using first the [SQL query plugin](https://seatable.com/help/anleitung-zum-sql-abfrage-plugin/). Most SQL syntax is supported, you can check the [SQL Reference](../../sql/reference.md) section of this manual for more information.
65+
Use SQL to query a base. SQL queries are the most powerful way access data stored in a base. If your not familiar with SQL syntax, we recommend using first the [SQL query plugin](https://seatable.com/help/anleitung-zum-sql-abfrage-plugin/). Most SQL syntax is supported, you can check the [SQL Reference](/scripts/sql/introduction.md) section of this manual for more information.
6666

6767
``` python
6868
base.query(sql_statement)
@@ -73,7 +73,7 @@ You'll find below all the available methods to interact with the rows of a SeaTa
7373
!!! info "Backticks for table or column names containing or special characters or using reserved words"
7474
For SQL queries, you can use numbers, special characters or spaces in the names of your tables and columns. However, you'll **have to** escape these names with backticks in order for your query to be correctly interpreted, for example `` SELECT * FROM `My Table` ``.
7575

76-
Similarly, if some of your of table or column names are the same as [SQL function](./functions.md) names (for example a date-type column named `date`), you'll also **have to** escape them in order for the query interpreter to understand that it's not a function call missing parameters, but rather a table or column name.
76+
Similarly, if some of your of table or column names are the same as [SQL function](/scripts/sql/functions.md) names (for example a date-type column named `date`), you'll also **have to** escape them in order for the query interpreter to understand that it's not a function call missing parameters, but rather a table or column name.
7777

7878
Similarly, if some of your of table or column names are the same as SQL function names (for example a date-type column named `date`), you'll also **have to** escape them in order for the query interpreter to understand that it's not a function call missing parameters, but rather a table or column name.
7979

docs/scripts/sql/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ You may use a formula syntax that's almost the same as SeaTable's formulas in SQ
277277
- You cannot use column alias in formulas. E.g. `SELECT abs(t.column) FROM table AS t;` is invalid.
278278
- Formulas can be used in `GROUP BY` and `ORDER BY` clauses.
279279

280-
For an exhaustive list of available functions, please refer to the complete [function reference](./function.md).
280+
For an exhaustive list of available functions, please refer to the complete [function reference](./functions.md).
281281

282282
### Extended list operators
283283

0 commit comments

Comments
 (0)