Comments (2)
@adamnemecek was this solved in Discord?
from fluent-sqlite-driver.
try await (req.db as! any SQLDatabase).raw("PRAGMA some_pragma_or_other").first()?.decode(column: "some_pragma_or_other", as: Int.self)
See also https://github.com/vapor/sqlite-kit/blob/main/Tests/SQLiteKitTests/SQLiteKitTests.swift#L92-L93
from fluent-sqlite-driver.
Related Issues (20)
- Allow specification of uniqueness of a field HOT 1
- find function is throwing error HOT 4
- Can't create model with only id HOT 1
- 'save(on: connection)' with given UUID fails to save to database HOT 2
- Migration adding unique constraint fails. HOT 1
- Saving multiple records results in duplicate 'id's HOT 3
- GROUP BY uses model's class name instead of entity name HOT 1
- DatabaseError.isConstraintFailure not being set
- FluentSQLiteDriver cannot read value with type .date HOT 1
- Adding Unique constraint can cause vapor to crash HOT 7
- Example Fluent-SQLite iOS HOT 2
- Make FluentSQLite usable on iOS HOT 13
- typeMismatch when reading a number stored as string HOT 5
- Unable to delete columns using Schema Builder/Migration HOT 2
- default values
- no such table error when creating a pivot object by attach HOT 2
- On iOS, creating db raises hang risk warning from Xcode HOT 1
- nil field does not save HOT 10
- Vapor does not honor foreign key constraints when using SQLite HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-sqlite-driver.