-
Notifications
You must be signed in to change notification settings - Fork 664
sql
Andrey Gershun edited this page Nov 22, 2014
·
30 revisions
-
Column Types
- JavaScript data types
- String
- Number
- Boolean
- Date and ISODate
- ANSI SQL types
- SQLite, Oracle, MySQL, SQL Server, Postgress data types mapping
- JavaScript data types
-
Column constraints
- PRIMARY KEY
- FOREIGN KEY
- DEFAULT
- NULL / NOT NULL
- AUTO_INCREMENT, IDENTITY
- CHECK
-
Constraints
- PRIMARY KEY
- FOREIGN KEY
-
RENAME TABLE (see also ALTER TABLE RENAME TABLE)
-
Operators
-
Number
-
-
-
- / %
-
-
-
String
-
-
Comparing
-
= != < <= > >=
-
BETWEEN, NOT BETWEEN
-
Null
- IS NULL, IS NOT NULL
-
SQL-Functions
-
Complex Operators
- EXISTS, NOT EXISTS
- IN, NOT IN
- SOME, ANY
- ALL
-
Aggregators
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo