-
Notifications
You must be signed in to change notification settings - Fork 664
sql
- [Single and multiple SQL statements](Multiple Statements)
- [Standard](Standard Interface) and [fluent (like LINQ)](Fluent Interface) interface
- Literals
- [Case-sensitive keywords](Case Sensitive)
- Comments
- [Data types](Data types)
Data query
Expression statement
- [= Expression Statement](Expression Statement)
Data manipulation
Data definition
- [CREATE TABLE](Create Table)
- [ALTER TABLE](Alter Table)
- [DROP TABLE](Drop Table)
- [CREATE VIEW](Create View)
- [DROP VIEW](Drop View)
Database
- [USE DATABASE](Use Database)
- [CREATE DATABASE](Create Database)
- [DROP DATABASE](Drop Database)
External database
- [ATTACH DATABASE](Attach Database)
- [DETACH DATABASE](Detach Database)
- [BEGIN TRANSACTION](Begin Transaction)
- [COMMIT TRANSACTION](Commit Transaction)
- ROLLBACK TRANSACTION
Show
- [SHOW DATABASES](Show Databases)
- [SHOW TABLES](Show Tables)
- [SHOW CREATE TABLE](Show Create Table)
Program
- DECLARE
- SET
- [IF THEN](If Then Else), [IF THEN ELSE](If Then Else)
- [BEGIN END](Begin End)
- WHILE
- SOURCE
Debug
Information
-
ALTER TABLE
-
[ALTER TABLE ADD COLUMN](Add Column)
-
[ALTER TABLE MODIFY COLUMN](Modify Column)
-
[ALTER TABLE DROP COLUMN](Drop Column)
-
[ALTER TABLE RENAME TABLE](Rename Table)
-
[BEGIN TRANSACTION](Begin Transaction)
-
[COMMIT TRANSACTION](Commit Transaction)
-
CREATE
-
[CREATE DATABASE](Create Database)
-
[CREATE TABLE](Create Table)
-
Column Types
- JavaScript data types
- String
- Number
- Boolean
- Date and ISODate
- Emun
- ANSI SQL types
- SQLite, Oracle, MySQL, SQL Server, Postgres data types mapping
- JavaScript data types
-
Column constraints
- [PRIMARY KEY](Primary Key)
- [FOREIGN KEY](Foreign Key)
- DEFAULT
- NULL / [NOT NULL](Not Null)
- AUTO_INCREMENT, AUTOINCREMENT, IDENTITY
- CHECK
-
[CREATE TRIGGER](Create Trigger)
-
[CREATE GRAPH](Create Graph)
-
[CREATE EDGE](Create Edge)
-
[CREATE VERTEX](Create Vertex)
-
DROP
-
[DROP DATABASE](Drop Database)
-
[DROP TABLE](Drop Table)
-
[DROP TRIGGER](Drop Trigger)
-
INSERT
-
[INSERT SELECT](Insert Select)
-
[INSERT VALUES](Insert Values)
-
[INSERT DEFAULT VALUES](Insert Default Values)
-
[RENAME TABLE](Rename Table)
-
[ROLLBACK TRANSACTION](Rollback Transaction)
-
[GROUP BY](Group By)
-
[ORDER BY](Order By)
-
[UNION ALL](Union All)
-
SHOW
-
[SHOW CREATE TABLE](Show Create Table)
-
[SHOW COLUMNS](Show Columns)
-
[SHOW DATABASES](Show Databases)
-
[SHOW TABLES](Show Tables)
-
[USE DATABASE](Use Database)
-
Number
-
-
-
- / %
-
-
-
String
-
-
= != < <= > >=
-
BETWEEN, [NOT BETWEEN](Not Between)
-
- [IS NULL](Is Null), [IS NOT NULL](Is Not Null), [NOT NULL](Is Not Null)
-
Inclusion
-
[Custom functions](Custom Functions)
-
Complex Operators
-
[Statistical functions](Statistical Functions)
-
[Custom aggregators](Custom Aggregators)
-
Grouping functions
-
[GROUPING SETS()](Grouping Sets)
-
[User-defined SQL functions](User Defined Functions)
-
Type conversions
-
[:: double-colon](Double Colon)
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo