Skip to content
#

orm

Here are 3,883 public repositories matching this topic...

xaragen
xaragen commented Aug 10, 2021

Working on a project I ran into the documentation for customizing the Foreign Key.
The docs read:

// https://sequelize.org/master/manual/assocs.html
// For example, to use UUID as the foreign key data type instead of the default (INTEGER), you can simply do:

const { DataTypes } = require("Sequelize");

Foo.hasOne(Bar, {
  foreignKey: {
    // name: 'myFooId'
    type: D
type: docs good first issue
prisma
binary64
binary64 commented Aug 2, 2021

Bug description

On windows, I run prisma format and note the unusual file ending. The lines are all LF, but the very last line is CRLF.

This causes issue on my Linux CI where it formats it ending in LF's only, causing a diff to occur and the build to fail.

How to reproduce

  1. On windows do prisma format
  2. Open in HxD or similar
  3. See attached:

![image](https://user-images.g

bug/1-unconfirmed kind/bug topic: windows tech/typescript
vanillajonathan
vanillajonathan commented Apr 25, 2022

When scaffolding from a SQLite database using the dotnet ef tool it will create the DbContext with the initial lowercase if the database filename is lowercase.

Example:

dotnet ef dbcontext scaffold "DataSource=blogging.db;Cache=Shared" Microsoft.EntityFrameworkCore.Sqlite

It creates the DbContext with the filename bloggingContext.cs and the class name bloggingContext which is

type-enhancement customer-reported good first issue area-scaffolding
jose-zenledger
jose-zenledger commented Apr 13, 2022

Version

Other

What happened?

After I run migrations I run pg_dump to create the schema file (I tried adding a bunch of flags to reduce what gets put in there):

PGPASSWORD=postgres pg_dump -U postgres -h db -p 5432 --schema public --schema-only --no-tablespaces --no-subscriptions --no-security-labels --no-publications -x currencydb > database/structure.sql

Which has the

bug good first issue 📚 postgresql
mikro-orm
wasd171
wasd171 commented Apr 22, 2022

Is your feature request related to a problem? Please describe.
Often when we query the database the condition that we would like to express is "does there exist a single entity that fits these criteria". Currently EntityManager has a .findOneOrFail method which solves half of the problem - it will throw in case there are no entities but will happily return the first one in case there are

enhancement help wanted good first issue
xuanhuangkeji
xuanhuangkeji commented Nov 5, 2021

问题描述及重现步骤:

直接导入包FreeSql.Provider.KingbaseES
测试代码:
var connStr = "Server=xxxxxx;Port=60049;UID=system;PWD=123456;database=test;MAXPOOLSIZE=2";

        var fsql = new FreeSqlBuilder()
            .UseConnectionString(DataType.KingbaseES, connStr)
            .Build();

直接提示密码认证失败
若是使用OdbcKingbaseES,再导入odbc包会一直提示找不到没有数据源名称

另一个群里的朋友遇到的人大金仓的问题
![image](https://user-i

good first issue docs

Improve this page

Add a description, image, and links to the orm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the orm topic, visit your repo's landing page and select "manage topics."

Learn more