refactor: Add h1 headers to all pages missing it (#137)

* refactor: Add h1 headers to all pages missing it

* refactor: missed example h3

* change hooks example heading to bold text

---------

Co-authored-by: Luke <[email protected]>
This commit is contained in:
JagandLuke authored and GitHub committed 2023-07-08 11:08:43 +02:00
1 parent 74227cc262
commit 1d2c490b26
95 files changed
+2167 -2289

No files matched your search

+2
View File
@@ -4,6 +4,8 @@ title: insert
import { Tab, Tabs } from 'nextra-theme-docs';
# Insert
Inserts a new entry into the database and returns the insert id for the row, if valid.
## Promise
+2
View File
@@ -4,6 +4,8 @@ title: prepare
import { Tab, Tabs } from 'nextra-theme-docs';
# Prepare
Prepare can be used to execute frequently called queries faster and accepts multiple sets of parameters to be used with a single query.
- Date will not return the datestring commonly used in FiveM
+2
View File
@@ -4,6 +4,8 @@ title: query
import { Tab, Tabs } from 'nextra-theme-docs';
# Query
When selecting data, returns all matching rows and columns; otherwise, returns data like insertId, affectedRows, etc.
## Promise
+2
View File
@@ -4,6 +4,8 @@ title: rawExecute
import { Tab, Tabs } from 'nextra-theme-docs';
# RawExecute
rawExecute can be used to execute frequently called queries faster and accepts multiple sets of parameters to be used with a single query.
- Date will not return the datestring commonly used in FiveM
+2
View File
@@ -4,6 +4,8 @@ title: scalar
import { Tab, Tabs } from 'nextra-theme-docs';
# Scalar
Returns the first column for a single row.
## Promise
+2
View File
@@ -4,6 +4,8 @@ title: single
import { Tab, Tabs } from 'nextra-theme-docs';
# Single
Returns all selected columns for a single row.
## Promise
+2
View File
@@ -4,6 +4,8 @@ title: transaction
import { Tab, Tabs } from 'nextra-theme-docs';
# Transaction
A transaction executes multiple queries and commits them only if all succeed.
If one fails, none of the queries are committed.
+2
View File
@@ -4,6 +4,8 @@ title: update
import { Tab, Tabs } from 'nextra-theme-docs';
# Update
Returns the number of rows affected by the query.
## Promise