Skip to content

SQLite

Python

sqlite - Pure Python Backup of SQLite3 In-Memory Database to Disk - Stack Overflow

TODO

sqlite - python sqlite3 insert list - Stack Overflow dentropydaemon-wiki/Software/Programming Language/python

Save query as a CSV or JSON file

Copy table from one database to another

SQLite: Easiest way to copy a table from one database to another? - Stack Overflow

Time

Get Month from datetime

select strftime('%m', dateField) as Month ...

Get day of week

sql - Format date as day of week - Stack Overflow

Unsorted

String Manipulation

JSON Support

Regex

select * from TABLE
where COLUMN regexp '.'

How do I use regex in a SQLite query? - Stack Overflow

Split string by delimiter

select foods.value 
from json_each('["' || replace('coffee:apple:orange', ':', '","') || '"]') as foods;

Python

sqlite - Pure Python Backup of SQLite3 In-Memory Database to Disk - Stack Overflow

TODO

sqlite - python sqlite3 insert list - Stack Overflow dentropydaemon-wiki/Software/Programming Language/python

Save query as a CSV or JSON file

Copy table from one database to another

SQLite: Easiest way to copy a table from one database to another? - Stack Overflow

Time

Get Month from datetime

select strftime('%m', dateField) as Month ...

Get day of week

sql - Format date as day of week - Stack Overflow

Unsorted

String Manipulation

JSON Support

Regex

select * from TABLE
where COLUMN regexp '.'

How do I use regex in a SQLite query? - Stack Overflow

Split string by delimiter

select foods.value 
from json_each('["' || replace('coffee:apple:orange', ':', '","') || '"]') as foods;