-
Database.ExecuteScalar can be a pain to use when attempting to use for types not covered by Convert.ChangeType.
Example problem:
```csharp
using NPoco;
using (var connection = new Microsoft.…
p-m-j updated
2 years ago
-
I use dill module to serialize python class.
`
import sys
import dill
import inspect
import logging
from sqlalchemy import Column, String, Integer, DateTime, Float, SmallInteger, Boolea…
-
```
It seemed that the latest version of Dapper have a bug about mapper cache?
ChildrenCount is from following sql:
sql = "select d.ID, d.Version, d.DName, d.Position, count(distinct child.ID)
Child…
-
```
It seemed that the latest version of Dapper have a bug about mapper cache?
ChildrenCount is from following sql:
sql = "select d.ID, d.Version, d.DName, d.Position, count(distinct child.ID)
Child…
-
mybatis-config.xml
```xml
```
*Mapper.xml
```xml
SELECT * FROM t_sys_user WHERE account=#{0} and password= #{1}
``…
-
My model has a `Survey` class with `owner_id` attribute, which is using a different column name (`user_id`) for historic reasons
```python
class User(Base):
__tablename__ = "user"
user_id:…
shish updated
9 months ago
-
## I'm submitting a...
- [ ] Bug report (BUG 报告)
- [x] Feature request (功能建议)
- [ ] Documentation issue or request (文档相关)
## Current behavior
mapper 接口和 mapper.xml 里生成了太多的EXample 相关的信息,其实…
-
The query system allows you to use SQL values during inserts, but I cannot see how to do this when using the ORM insert.
e.g. http://atlasphp.io/cassini/query/insert.html#1-4-4-1
$insert = $…
-
### What happened?
When I use function `sql()` of `mssql` with a non-exist column like below
``` python
ibis.mssql.connect(...).sql('SELECT x from tpch.tiny.orders')
```
ibis will throw `'NoneTy…
-