Toggle Sidebar
Ecto
v2.2.7
Pages
Modules
Exceptions
Mix Tasks
Ecto
Top
Summary
Functions
assoc/2
assoc_loaded?/1
build_assoc/3
get_meta/2
primary_key/1
primary_key!/1
put_meta/2
Ecto.Changeset
Top
Summary
Types
action/0
constraint/0
data/0
error/0
t/0
types/0
Functions
add_error/4
apply_action/2
apply_changes/1
assoc_constraint/3
cast/4
cast_assoc/3
cast_embed/3
change/2
check_constraint/3
delete_change/2
exclusion_constraint/3
fetch_change/2
fetch_field/2
force_change/3
foreign_key_constraint/3
get_change/3
get_field/3
merge/2
no_assoc_constraint/3
optimistic_lock/3
prepare_changes/2
put_assoc/4
put_change/3
put_embed/4
traverse_errors/2
unique_constraint/3
unsafe_validate_unique/4
update_change/3
validate_acceptance/3
validate_change/3
validate_change/4
validate_confirmation/3
validate_exclusion/4
validate_format/4
validate_inclusion/4
validate_length/3
validate_number/3
validate_required/3
validate_subset/4
Ecto.Migration
Top
Summary
Functions
add/3
alter/2
constraint/3
create/1
create/2
create_if_not_exists/1
create_if_not_exists/2
direction/0
drop/1
drop_if_exists/1
execute/1
execute/2
flush/0
fragment/1
index/3
modify/3
prefix/0
references/2
remove/1
rename/2
rename/3
table/2
timestamps/1
unique_index/3
Ecto.Migrator
Top
Summary
Functions
down/4
migrated_versions/2
migrations/2
run/4
up/4
Ecto.Multi
Top
Summary
Types
merge/0
name/0
run/0
t/0
Functions
append/2
delete/4
delete_all/4
error/3
insert/4
insert_all/5
insert_or_update/4
merge/2
merge/4
new/0
prepend/2
run/3
run/5
to_list/1
update/4
update_all/5
Ecto.Schema
Top
Summary
Types
t/0
Functions
association/5
belongs_to/3
embedded_schema/1
embeds_many/3
embeds_many/4
embeds_one/3
embeds_one/4
field/3
has_many/3
has_one/3
many_to_many/3
schema/2
timestamps/1
Ecto.Schema.Metadata
Top
Repo and Queries
Ecto.LogEntry
Top
Summary
Types
t/0
Functions
log/1
log/2
to_iodata/1
Ecto.Query
Top
Summary
Types
t/0
Functions
distinct/3
dynamic/2
exclude/2
first/2
from/2
group_by/3
having/3
join/5
last/2
limit/3
lock/2
offset/3
or_having/3
or_where/3
order_by/3
preload/3
select/3
select_merge/3
subquery/2
update/3
where/3
Ecto.Query.API
Top
Summary
Functions
!=/2
</2
<=/2
==/2
>/2
>=/2
ago/2
and/2
avg/1
count/1
count/2
date_add/3
datetime_add/3
field/2
fragment/1
from_now/2
ilike/2
in/2
is_nil/1
like/2
map/2
max/1
merge/2
min/1
not/1
or/2
struct/2
sum/1
type/2
Ecto.Queryable
Top
Summary
Types
t/0
Functions
to_query/1
Ecto.Repo
Top
Summary
Types
t/0
Callbacks
__adapter__/0
__log__/1
aggregate/4
all/2
config/0
delete/2
delete!/2
delete_all/2
get/3
get!/3
get_by/3
get_by!/3
in_transaction?/0
init/2
insert/2
insert!/2
insert_all/3
insert_or_update/2
insert_or_update!/2
load/2
one/2
one!/2
preload/3
rollback/1
start_link/1
stop/2
stream/2
transaction/2
update/2
update!/2
update_all/3
Ecto.SubQuery
Top
Types
Ecto.DataType
Top
Summary
Types
t/0
Functions
dump/1
Ecto.Date
Top
Summary
Functions
cast/1
cast!/1
compare/2
dump/1
from_erl/1
load/1
to_erl/1
to_iso8601/1
to_string/1
type/0
utc/0
Ecto.DateTime
Top
Summary
Functions
cast/1
cast!/1
compare/2
dump/1
from_date/1
from_date_and_time/2
from_erl/1
from_unix!/2
load/1
to_date/1
to_erl/1
to_iso8601/1
to_string/1
to_time/1
type/0
utc/1
Ecto.Time
Top
Summary
Functions
cast/1
cast!/1
compare/2
dump/1
from_erl/1
load/1
to_erl/1
to_iso8601/1
to_string/1
type/0
utc/1
Ecto.Type
Top
Summary
Types
custom/0
primitive/0
t/0
Functions
base?/1
cast/2
composite?/1
dump/3
load/3
match?/2
primitive?/1
type/1
Callbacks
cast/1
dump/1
load/1
type/0
Ecto.UUID
Top
Summary
Functions
bingenerate/0
cast/1
cast!/1
dump/1
generate/0
load/1
type/0
Adapters
Ecto.Adapters.MySQL
Top
Ecto.Adapters.Postgres
Top
Summary
Functions
extensions/0
Ecto.Adapters.SQL
Top
Summary
Functions
do_stream/6
query/4
query!/4
stream/4
to_sql/3
Ecto.Adapters.SQL.Connection
Top
Summary
Types
cached/0
prepared/0
Callbacks
all/1
child_spec/1
delete/4
delete_all/1
execute/4
execute_ddl/1
insert/6
prepare_execute/5
stream/4
to_constraints/1
update/5
update_all/1
Ecto.Adapters.SQL.Sandbox
Top
Summary
Functions
allow/4
checkin/2
checkout/2
mode/2
unboxed_run/2
Adapter specification
Ecto.Adapter
Top
Summary
Types
cached/0
constraints/0
fields/0
filters/0
on_conflict/0
prepared/0
process/0
query_meta/0
returning/0
schema_meta/0
source/0
t/0
Callbacks
__before_compile__/1
autogenerate/1
child_spec/2
delete/4
dumpers/2
ensure_all_started/2
execute/6
insert/6
insert_all/7
loaders/2
prepare/2
update/6
Ecto.Adapter.Migration
Top
Summary
Types
command/0
ddl_object/0
table_subcommand/0
Callbacks
execute_ddl/3
supports_ddl_transaction?/0
Ecto.Adapter.Storage
Top
Summary
Callbacks
storage_down/1
storage_up/1
Ecto.Adapter.Structure
Top
Summary
Callbacks
structure_dump/2
structure_load/2
Ecto.Adapter.Transaction
Top
Summary
Callbacks
in_transaction?/1
rollback/2
transaction/3
Association structs
Ecto.Association.BelongsTo
Top
Ecto.Association.Has
Top
Ecto.Association.HasThrough
Top
Summary
Functions
on_repo_change/4
Ecto.Association.ManyToMany
Top
Ecto.Association.NotLoaded
Top
Migration structs
Ecto.Migration.Command
Top
Summary
Types
t/0
Ecto.Migration.Constraint
Top
Summary
Types
t/0
Ecto.Migration.Index
Top
Summary
Types
t/0
Ecto.Migration.Reference
Top
Summary
Types
t/0
Ecto.Migration.Table
Top
Summary
Types
t/0
Ecto v2.2.7
Ecto.SubQuery
View Source
Stores subquery information.