-
π Proper handling of None in WHERE condition Β· Iss...
SQLModel models ship with an is, and isnot that you can use to compare to None without pesky linters complaining.
-
π Aaron Francis on X: "π£ We're excited to announce...
Aaron Francis is a database master, pumped for thsi dude and all that he is able to accomplish.
-
π Database Remote-Copy Tool For SQLite (draft)
Simon shared a really cool new utility tool for sqlite ispired by rsync. It checks hashes of each sqlite page and syncs
-
π Sqlite-jiff
Sqlite is getting rust extensions now, and datetimes make it totally worth if if they work well and and fast, two things
-
π sql - How can I list the tables in a SQLite data...
I learned about the sqlitemaster table from this stack overflow answer. This helps make a lot of sense to how sqlite w
-
π nalgeon/redka: Redis re-implemented with SQLite
Redka a sick new redis compatable api, that uses sqlite as its backend datastore. It feels lightweight to use as it is
-
π sql - SQLite: COUNT slow on big tables - Stack O...
Another interesting option for slow count queries in sqlite. > If you haven't DELETEd any records, doing: sql SELE
-
π Optimizing SQLite for servers
Very interesting article by Sylvain, suggested by Simon Willison. Definitely some things that I want to come back and t
-
π learning strawberry
python import logging from typing import List import strawberry from fastapi import FastAPI from strawberry.fastapi
-
π searching my thoughts locally
First I need to fetch my thoughts from the api, and put it in a local sqlite database using sqlite-utils. bash ft
-
π Creating One-To-Many Relationships in Flask-SQLA...
Great example from Anthony showing how easy it is to practice building database orm models and playing with them in a re
-
π python - Concepts of backref and back_populate i...
Today I came across some sqlalchemy models that created some relationships, some used backref some used backpopula
-
π Read a Range of Data - LIMIT and OFFSET - SQLMod...
Today I was running some sqlmodel queries through the sqlalchemy orm. Admittedly I've not done enough orm queries befor
-
π Open source, not open contribution with Ben John...
Ben Johnson was on the Changelog a few years back covering his work on litestream, and talks about why he chose to go op
-
π DjangoCon Europe 2023 | Use SQLite in production...
Very inspiring talk, TLDR, you probably don't need a database server. sqlite will probably be faster, simpler to mainta
-
π benbjohnson/litestream: Streaming replication fo...
litestream is a sick cli tool for steaming replicas of sqlite. It automatically does daily snapshots, and str
-
π Why I Built Litestream - Litestream
As applications scale to the edge, to put compute as close to the user as possible, database queries back to the master
-
π I'm All-In on Server-Side SQLite Β· The Fly Blog
SQLite is the next big database trend. with more horizontal scaling, close to user read heavy applications, having your
-
π LiteFS Cloud: Distributed SQLite with Managed Ba...
Fly.io's solution to sqlite managed backups.I definitely want to look into this a bit, but moreso the tech under the hoo
-
π SQLite FTS5 Extension
sqlite has 3 different tokenizers, porter, ascii, trigram. These can be used with sqlite-utils. bash sqlite-ut
-
π sqlite_utils Python library - sqlite-utils
sqlite-utils is primarily a cli tool for sqlite operations such as enabling full text search, and executing searches, bu
-
π simonw/datasette-render-markdown: Datasette plug...
datasette really does everything doesn't it!
-
π `ValueError: Constraint must have a name` in ale...
After a nasty time with alembic upgrades, thoughts is about to get a new users table. This may have came from incorrect
-
π Use Alembic Check to check for possible upgrades
Since using alembic I have been just running out a new revision checking its content and deleting it if its empty, today
-
π DuckDB vs. MotherDuckβββshould you switch to the...
duckdb is a new in process database that has been making its rounds in analytics for its high performance in those appli
-
π python - SQLAlchemy ORDER BY DESCENDING? - Stack...
How to sort results from a sqlalchemy based orm. python .orderby(model.Entry.amount.desc()) I needed this to
-
π kndndrj/nvim-dbee: Interactive database client f...
A neovim database client that I need to check out.
-
π sqlite-utils now supports plugins
As the title states sqlite-utils now supports plugins. I dug in just a bit and Simon implemented this completely with e
-
π Column INSERT/UPDATE Defaults β SQLAlchemy 1.4 D...
sqlalchemy serverdefaults end up as defaults in the database when new values are inserted. python t = Table( "
-
π Harlequin SQL IDE - DuckDB
Harlequin is a pretty sweet example of what textual can be used to create. Its a terminal based sql ide for DuckDB.
-
π Filter Data - WHERE - SQLModel
When fetching pydantic models from the database with sqlmodel, and you cannot select your item by id, you probably need
-
π Full-text search - Datasette documentation
Enable full-text search in sqlite using sqlite-utils. bash $ sqlite-utils enable-fts mydatabase.db items name descr
-
π sqlite-utils command-line tool - sqlite-utils
I want to like jq, but I think Simon is selling me on sqlite, maybe its just me but this looks readable, hackable, edita
-
π sqlite-utils command-line tool - sqlite-utils
insert a json array directly into into sqlite with sqlite-utils. bash echo '{"name": "Cleo", "age": 4}' | sqlite-ut