Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client insert value relation support #200

Open
Konard opened this issue Sep 1, 2024 · 0 comments
Open

client insert value relation support #200

Konard opened this issue Sep 1, 2024 · 0 comments

Comments

@Konard
Copy link
Member

Konard commented Sep 1, 2024

await deep.insert({
	type_id: 1,
	string: { data: { value: 'Abc' } } // now we must know string/number/object relation
	from: { data: { type_id: 1 } },
	to: { data: { type_id: 1 } },
});
// need to support syntax
// if data not setted, object already can be used as relation insert
await deep.insert({
	type_id: 1,
	value: 'Abc', // and value type relation getts from value type, for example 'Abc' is string
	from: { type_id: 1 },
	to: { type_id: 1 },
});

Forked from deep-foundation/deeplinks#30 by https://github.com/konard/gh-org-migrator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant