Skip to content

Instantly share code, notes, and snippets.

Convex Ents Framework Guidelines

Introduction

Convex Ents is an ergonomic layer of the built-in Convex database API (ctx.db) that provides a more powerful and developer-friendly way to work with relational data. Ents (short for entities) allow you to explicitly declare relationships between documents, define default values, incorporate authorization rules, and much more.

⚠️ Note: Convex Ents is currently in maintenance mode. The Convex team will accept PRs and ensure it doesn't break, but there will not be active feature development.

Ent Schema Guidelines

Defining Your Schema

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<div id="root"></div>
<script type="text/javascript" src="path-to-script.js" ></script>
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=197)}([function(e,t,n){"use strict";e.exports=n(166)},function(e,t,n){"use strict";function r(){return(r=Object.assig
@K-Kit
K-Kit / gpt2-playtime.ipynb
Created June 11, 2019 11:51
gpt2-playtime
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[main]
market = ETH
interval = 1h
min_volume = 0
min_price = 0.0000005
min_buy_balance = 0.3
sell_value = 1
trailing_value_buy = 0.2
trailing_value_sell = 0.2
buy_value = 0.05