Category "sqlite"

Sequelize transaction with optimistic locking is locking the whole db

I have an API coded with Node.js and I use a SQLite database with Sequelize. When I make updates, I use a transaction to rollback if something failed during the

geograpy3: sqlite3.OperationalError: no such table

I would like to use the geograpy3 package for a city & country mapping of string values, related to locations (like 'Roma, Italy' or just 'Timișoara').

JOIN 2 tables with an array as a result in the object

I have the following tables: Table 'images': file_name file1.jpg file2.jpg Table 'types': type type_a type_b Table 'images_types_bridge': file_name type fi

Select foreign key matching multiple criteria in a joining table (SQLITE)

Preface: this is all in a fiddle here https://www.db-fiddle.com/f/pMLFrz59aeL7B2jUsmTt9X/1 I have a table that contains items (item #100, item #101...) that eac

I want to update my SQLite3 database fields in Python tkinter and I'm getting errors

I'm trying to update the firstname field in my SQLite3 database, I tried using exception to get this error but couldn't still fix it. This is the code: conne =

SQLite-net-pcl Comparing Dates

As stated in the question I am attempting to do a date comparison for tasks that are done within a specific date range. My model has a boolean called "Done" and

SQLiteDatabase.insert() and SQLiteDatabase.execSQL("insert into ...") doesn't work

I'm working on an Android application in Java. In my application I need, among other things, to store an address in a database. My address is stored in a table

Python cant find database if script is run from other file

I have this struggle with a dataheavy project. I can run a file that uses a query file -- Al the query's and converters are in here -- without problems, but whe

Unable to read database header in SQLITE3

I installed SQLITE3 on my Ubuntu VM running on WSL2 in Windows 11. I created a sample database with one table and few records. When I run the command .dbinfo ?D

Sqlite3 recover runs into out of memory error

I'm trying to recover a broken sqlite database using the recover feature of sqlite3.exe: sqlite3.exe borken.db ".recover" | sqlite3 fixed.db The broken databas

SQLite: Cannot run a cached statement

I am using Orthanc inside Docker volume volumes: - /mnt/win_share/test:/var/lib/orthanc/db/ Orthanc.js file path for sqlite "StorageDirectory": "/var/lib/

why does the bot doesnt send the db pycord

My bot doesn't write changes on the DB when I type the command with the id What I want to do: write the commmand + the ID of the person -> the bot add the pe

How to open SQLite DB created by one Xamarin Android app in another app?

I have a Xamarin Android app which creates SQLite DB. After reinstaling this app I am not able open the DB with a new version of the app. For the testing purpos

Sending Flutter form data into an SQLite database

I am a new Flutter developer trying to figure out how to send my form data into SQLite as an instance of a simple class I set up. I am trying to create a new us

How do I open a database file located in a specific folder in sqlite3?

I have this chinook.db database file that I have stored in C:\sqlite\db, and everytime I try accessing it using the sqlite shell by the command .open C:\sqlite\

how to give permission write only to sqlite db in flutter

Here's my code: Future<void> updatevalue(int b, int value) async { await initDatabase(); await _db.rawQuery('UPDATE chines_recipe SET favor

Logging using Serilog to SQLite sink

I'm not able to make SeriLog work with SQLite sink. My project setup is as follows: Packages I have installed: My SQLite database: My appsettings.json file

System.Data.SQLite.SQLiteException : SQL Logic Error

A Sqlite Database was created that consists on a persons FirstName and LastName.When the code is executed, System.Data.SQLite.SQLiteException: 'SQL logic error

is there a way to extract duplicated row value in sql as the key/grouping value?

I have following two tables users id | name 1 | john 2 | ada events id | content | userId 1 | 'applied' | 1 2 | 'interviewed| 1 What would be the

Passing data between pages Xamarin Shell navigation

I have a Xamarin forms app with a form split across multiple pages, I want to pass the object data to the next or previous page. I am navigating using the Xamar