-
Hey, is it possible to mock ent without using sqlite driver?
Probably something like mock with callbacks that user can override.
We are starting to use ent in production and sqlite is not always…
-
So much for a minor update....
Simple method for attaching a PDF to an active record object (puts statements for debugging)
```
def attach_pdf(pdf_data)
pdf_file = File.new("#{Dir.tmpdir}…
-
Hi!
reduced test cases:
a.c
```c
#include
int a[20];
int main() {
int *b;
memcmp(b, a, 1);
return 0;
}
```
clang -cc1 -analyze -isystem /usr/include -I/usr/lib/llvm-…
-
1.
```typescript
Column({ type: 'bool' })
isBool: boolean;
```
If you set it as above and set mirrate: true and save it, tinyint(1) and tinyint(default 4) are stored alternately.
### My Envir…
-
## Issue Description
### Expected Behavior
I want the output to be :
```json
[{
"user_id":1,
"photo":[{
"user_id":1,
"photo":"...."
},{
"user_id":1,
…
-
## Feature Description
I'd like to be able use a transformer to perform my own serialization/deserialization of json - for instance, using a parser which supports big integers.
### The Problem
…
-
## 描述
首次安装该插件,`nb orm upgrade` 或 `nb run` 均报错 `No such revision or branch 'xxxxxxxxxxxxxx'`
(报错全部内容详见本层末)
## 环境
插件版本:0.2.0及以上(使用orm插件后)
Windows 10,Python 3.10.9, nonebot cli version 1.0.5,N…
-
As reported by @MishiR in issue #72, it seems to be encoding issues when storing the data on SQLite.
```
sqlalchemy.exc.ProgrammingError: (sqlite3.ProgrammingError)
You must not use 8-bit bytestring…
-
## Issue Description
When I am trying to create a table with migrations. I am getting this error: TypeError: tableName.split is not a function
I have found the bug in your code.
In file: `/node…
-
### Issue description
Only one new related entity of a one-to-many relation is saved, remaining ones are ignored
### Expected Behavior
Let's assume the following data structures with a one-to…