@imqueueRPC enqueued!
intro docs blog
$ npm i -g @imqueue/cli
intro docs blog
theme
$ npm i -g @imqueue/cli
@imqueue/pg-prisma v2.0.0 · API reference
Functions
accessScope(input) audit(input) dataLayer(options) dataPool(config, parsers) deriveDataLayer(input) emitAll(input) emitEnums(input) emitImports(names, map) emitModels(input) emitRpcTypes(input) hasDatabaseDefault(models, columnsOf) installArchiving(options) installChangeTriggers(client, input) isoDates(input) isSqlLogSuppressed() join(parts, separator) namespaceOf(contract, namespace, omit) parseImportMap(spec) prettifySql(sql) queryLog(input) quoted(value) raw(text) repositoriesFor(db, input) scopePredicate(qualifier, levels, resolvers) silently(fn) sql(strings, values) sqlRunner(pool) stamp(input) toOrdering(orderBy) toPredicate(relations, model, where) toProjection(relations, model, select) toQuery(fragment) transactionFor(db, options) typeOf(field, enums, listEnum) withoutChangeNotify(client, fn, setting) withTransaction(pool, fn)
Interfaces
AccessScopeOptions ArchivableModel AuditColumns AuditConfig AuditOptions BulkCount ChangeTriggerConfig ContractJson DataLayer DataLayerAudit DataLayerOptions DerivedDataLayer DeriveFields DeriveOptions EmitAllOptions EmitContract EmitModelsOptions EmitRpcOptions EnumDef Field FilterOps InstallArchiveOptions IsoDateOptions Model Page PageOptions Projection QueryLogger QueryLogOptions Relation RelationInfo Repository RepositoryOptions RuntimeModule SqlConnection SqlExecutor SqlFragment SqlPool SqlRunner StampColumns StampOptions Transactional TypeParsers
Variables
AuditAction CHANGE_NOTIFY_CHANNEL CHANGE_NOTIFY_FUNCTION_NAME CHANGE_NOTIFY_SUPPRESS_SETTING CHANGE_NOTIFY_TRIGGER_NAME EMPTY RUNTIME TIMESTAMP_CODECS
Type Aliases
AccessScopeResolver ArchiveClient Direction EnumNames Fields ImportMap OrderBy RawClient RawExecutor RelationMap RowOf RuntimeName ScopeTables Select StampTables StorageTables ValidationRules Where
Home/API reference/@imqueue/pg-prisma/RepositoryOptions/relations

RepositoryOptions.relations property

Relations per model, from deriveDataLayer.

Signature:

relations: RelationMap;

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.

@imqueue

RPC over an inter-communication messaging queue. For TypeScript & NodeJS back-ends. Friendly to AI assistants.

Docs

Get started Tutorial CLI API MCP

Packages

@imqueue/cli ↗ @imqueue/rpc ↗ @imqueue/core ↗ @imqueue/mcp ↗ Other ↗

Project

GitHub ↗ Sandbox ↗ Contributing License Commercial ↗

Legal

Privacy Policy Terms Of UseSupport ContactCookie settings
@imqueue open source · GPL-3.0 Need a commercial license? imqueue.com ↗

Cookies We'd like to measure how these docs are used. Nothing runs and nothing is stored unless you allow it, you can change your mind any time, and we never sell or share your data. Privacy · Terms · Support