# Interface QueryLinkReturn

interface QueryLinkReturn {
_and?: BoolExpLink[];
_from_id?: ComparasionType<Id>;
_id?: ComparasionType<Id>;
_not?: BoolExpLink;
_or?: BoolExpLink[];
_to_id?: ComparasionType<Id>;
_type_id?: ComparasionType<Id>;
can_action?: BoolExpCan;
can_object?: BoolExpCan;
can_rule?: BoolExpCan;
can_subject?: BoolExpCan;
distinct_on?: [string];
down?: BoolExpTree;
from?: BoolExpLink | Id;
from_id?: ComparasionType<Id>;
id?: ComparasionType<Id>;
in?: BoolExpLink | BoolExpLink[];
limit?: number;
number?: BoolExpValue<number>;
object?: BoolExpValue<object>;
offset?: number;
order_by?: {
[key: string]: "asc" | "desc";
};
out?: BoolExpLink | BoolExpLink[];
relation: LinkToLinksRelations;
return?: {
[key: string]: ReturnBoolExp;
};
root?: BoolExpTree;
selected?: BoolExpSelector | BoolExpSelector[];
selectors?: BoolExpSelector | BoolExpSelector[];
string?: BoolExpValue<string>;
to?: BoolExpLink | Id;
to_id?: ComparasionType<Id>;
tree?: BoolExpTree;
type?: BoolExpLink | Id;
type_id?: ComparasionType<Id>;
typed?: BoolExpLink | BoolExpLink[];
up?: BoolExpTree;
value?: BoolExpValue<any>;
}

#### Hierarchy (view full)

- QueryLink
  - QueryLinkReturn

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:15

#####
Index

### Properties

_and?
_from_id?
_id?
_not?
_or?
_to_id?
_type_id?
can_action?
can_object?
can_rule?
can_subject?
distinct_on?
down?
from?
from_id?
id?
in?
limit?
number?
object?
offset?
order_by?
out?
relation
return?
root?
selected?
selectors?
string?
to?
to_id?
tree?
type?
type_id?
typed?
up?
value?

##
Properties

### `Optional`_and

_and?: BoolExpLink[]

Inherited from QueryLink._and

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:20

### `Optional`_from_id

_from_id?: ComparasionType<Id>

Inherited from QueryLink._from_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:41

### `Optional`_id

_id?: ComparasionType<Id>

Inherited from QueryLink._id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:40

### `Optional`_not

_not?: BoolExpLink

Inherited from QueryLink._not

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:22

### `Optional`_or

_or?: BoolExpLink[]

Inherited from QueryLink._or

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:21

### `Optional`_to_id

_to_id?: ComparasionType<Id>

Inherited from QueryLink._to_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:42

### `Optional`_type_id

_type_id?: ComparasionType<Id>

Inherited from QueryLink._type_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:43

### `Optional` can_action

can_action?: BoolExpCan

Relation to rules where current link used as action.

Inherited from QueryLink.can_action

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:68

### `Optional` can_object

can_object?: BoolExpCan

Relation to rules where current link used as object.

Inherited from QueryLink.can_object

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:70

### `Optional` can_rule

can_rule?: BoolExpCan

Relation to current rule.

Inherited from QueryLink.can_rule

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:66

### `Optional` can_subject

can_subject?: BoolExpCan

Relation to rules where current link used as subject.

Inherited from QueryLink.can_subject

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:72

### `Optional` distinct_on

distinct_on?: [string]

Inherited from QueryLink.distinct_on

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:11

### `Optional` down

down?: BoolExpTree

Links down by all available trees. (Use link_id for search)

Inherited from QueryLink.down

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:74

### `Optional` from

from?: BoolExpLink | Id

Inherited from QueryLink.from

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:44

### `Optional` from_id

from_id?: ComparasionType<Id>

Inherited from QueryLink.from_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:37

### `Optional` id

id?: ComparasionType<Id>

Inherited from QueryLink.id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:36

### `Optional` in

in?: BoolExpLink | BoolExpLink[]

Links related to current by to_id field

Inherited from QueryLink.in

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:48

### `Optional` limit

limit?: number

Inherited from QueryLink.limit

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:8

### `Optional` number

number?: BoolExpValue<number>

Value type number definition.

Inherited from QueryLink.number

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:58

### `Optional` object

object?: BoolExpValue<object>

Value type object definition.

Inherited from QueryLink.object

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:62

### `Optional` offset

offset?: number

Inherited from QueryLink.offset

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:10

### `Optional` order_by

order_by?: {
[key: string]: "asc" | "desc";
}

Inherited from QueryLink.order_by

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:9

### `Optional` out

out?: BoolExpLink | BoolExpLink[]

Links related to current by from_id field

Inherited from QueryLink.out

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:50

### relation

relation: LinkToLinksRelations

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:16

### `Optional` return

return?: {
[key: string]: ReturnBoolExp;
}

Inherited from QueryLink.return

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:12

### `Optional` root

root?: BoolExpTree

Links using this link as a root.

Inherited from QueryLink.root

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:80

### `Optional` selected

selected?: BoolExpSelector | BoolExpSelector[]

Selected by this link as selector (usable only for Selector typed links)

Inherited from QueryLink.selected

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:54

### `Optional` selectors

selectors?: BoolExpSelector | BoolExpSelector[]

Selectors that select current link.

Inherited from QueryLink.selectors

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:56

### `Optional` string

string?: BoolExpValue<string>

Value type string definition.

Inherited from QueryLink.string

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:60

### `Optional` to

to?: BoolExpLink | Id

Inherited from QueryLink.to

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:45

### `Optional` to_id

to_id?: ComparasionType<Id>

Inherited from QueryLink.to_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:38

### `Optional` tree

tree?: BoolExpTree

Links using this link as a tree.

Inherited from QueryLink.tree

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:78

### `Optional` type

type?: BoolExpLink | Id

Inherited from QueryLink.type

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:46

### `Optional` type_id

type_id?: ComparasionType<Id>

Inherited from QueryLink.type_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:39

### `Optional` typed

typed?: BoolExpLink | BoolExpLink[]

Links related to current by type_id field

Inherited from QueryLink.typed

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:52

### `Optional` up

up?: BoolExpTree

Links up by all available trees. (Use parent_id for search)

Inherited from QueryLink.up

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:76

### `Optional` value

value?: BoolExpValue<any>

Value (number/string/object shortly).

Inherited from QueryLink.value

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:64