95,023 questions
0
votes
0
answers
20
views
Sequelize transaction fails with an in-memory SQLite database
I want to unit test a method which removes records from a table. It works when I run it with npm run dev and a file-based SQLite database. However, it doesn't work with an in-memory SQLite database (...
1
vote
2
answers
49
views
SQLite doesn't see all columns of my table [closed]
self.cur.execute("DROP TABLE IF EXISTS analysisResults")
self.cur.execute("""CREATE TABLE IF NOT EXISTS analysisResults(
subjectID INTEGER
...
1
vote
0
answers
36
views
How can I package a .NET server app running on Linux as a service with SQLite?
I need to create a package for a .NET application on Linux for the Azure Marketplace. The application uses an SQLite database. Azure Marketplace, in the process of creating the offer, does not present ...
-1
votes
0
answers
69
views
Programatically decrypting Chromium browser cookies [closed]
I have dictionary of browsers and want to programmatically fetch the cookies saved in default/network/cookies. However, some of the cookies don't match, are encoded in base64, and only return one ...
0
votes
0
answers
34
views
Manual edits to Alembic migration file are not being implemented
I am attempting to include manual updates to an Alembic-generated migration file for my SQLite database. In models.py tables are defined. The update of the auto-generated table works however, I want ...
2
votes
3
answers
83
views
Insert variables into an SQLite table in MetaEditor
If I want to insert into table COMPANY I write: "INSERT INTO COMPANY (AGE) VALUES (32);". But if I want to insert a variable x=32 instead of 32, how can I do that?
There are some ways in ...
2
votes
0
answers
87
views
KMP Desktop Room & SQLiteConnection [closed]
Iâm working on a Kotlin Multiplatform Desktop (JVM) application using Room with a custom SQLiteDriver backed by SQLite JDBC + SQLCipher last versions.
Iâm adapting a JDBC Connection / ...
4
votes
1
answer
109
views
Shelve sqlite3.OperationalError: disk I/O error
On Fedora 43 in Python 3.14 I can create and retrieve a shelf in a command line with no errors:
#!/usr/bin/env python
import shelve
shelf = shelve.open('/tmp/my_shelf', flag='c', writeback=True)
...
Tooling
0
votes
4
replies
117
views
How to preview SQLite database in Visual Studio 2022/2026
I am looking for a proper extension in Visual Studio 2026 to be able to visually preview my SQLite database.
Currently, I am using SQLite and SQL Server Compact Toolbox. It is functional, but I'd like ...
1
vote
0
answers
77
views
Database locked on insert() in Leaf PHP
My function to get input from the user using Leaf PHP with an SQLite database should create a POST method call to create a thread, and every message (including the first one) should be in a comments ...
Advice
1
vote
10
replies
87
views
Does SQL window function ORDER BY inherit from parent query ORDER BY?
In SQL, if I omit the ORDER BY clause from a window function's OVER() clause, will it use the parent statement's ORDER BY instead?
For example, are these two queries equivalent?
-- Query 1: ORDER BY ...
0
votes
1
answer
57
views
totalRecords count seems incorrect
My Flask application exposes a REST API for CVE data stored in SQLite. The API supports filtering and pagination, but is my totalRecords count logic correct when filters are applied?
totalRecords ...
2
votes
3
answers
191
views
Get SQL result with previous and next row
I want to add to my result rows the immediate previous and following row according to a specific clause. Simplified case:
ROWID
value
x
level
0
1.0
0
1
1
2.0
1
2
2
3.0
2
1
3
4.0
3
2
4
5.0
4
1
5
6.0
5
...
2
votes
3
answers
62
views
Grouping with a condition
I need to group data according to a certain condition.
ID
STATUS
WORD
1
text
word 1
2
-
word 1
3
text
word 2
4
-
word 3
5
-
word 4
6
text
word 4
( - ) it's NULL
I need the result to include data with ...
0
votes
0
answers
68
views
How to connect the database to databrowser?
I'm developing a password manager app using GAMBAS. I'm currently stuck at an issue connecting the database to the databrowser to show to the users their saved passwords.
Here are the objects I have ...