Ciro Santilli $$ Sponsor Ciro $$ 中国独裁统治 China Dictatorship 新疆改造中心、六四事件、法轮功、郝海东、709大抓捕、2015巴拿马文件 邓家贵、低端人口、西藏骚乱

SQL example

| nosplit | ↑ parent "SQL" | words: 434
🔗
We have some runnable SQL examples with assertions under the sequelize/raw directory.
🔗
These examples are written in the Sequelize library using raw queries.
🔗
Sequelize is used minimally, just to feed raw queries in transparently to any underlying database, and get minimally parsed results out for us, which we then assert with standard JavaScript. The queries themselves are all written by hand.
🔗
By default the examples run on SQLite. Just like the examples from sequelize example, you can set the database at runtime as:
  • ./index.js or ./index.js l: SQLite
  • ./index.js p: PostgreSQL. You must manually create a database called tmp and ensure that peer authentication works for it
🔗
Here we list only examples which we believe are standard SQL, and should therefore work across different SQL implementations:
🔗

Tagged

🔗

Ancestors

🔗