// from the flitter/orm project - src/proxy/model/LimitProxy.js/** * @module flitter-orm/src/proxy/model/LimitProxy */const ModelProxy = require('./ModelProxy')/** * Proxy that limits the number of records in the reference's result set. * @extends module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy */class LimitProxy extends ModelProxy {  /**   * Instantiate the proxy   * @param {module:flitter-orm/src/model/Model~Model|module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy} model - proxy ref   * @param {number} limit - the number to limit to   * @param {module:flitter-orm/src/model/CursorBuilder~CursorBuilder} [builder] - optionally, the cursor builder to use   */  constructor(model, limit, builder = undefined) {    super(model, builder)    this._limit = limit    this.builder.limit(limit)  }}module.exports = exports = LimitProxy// from the flitter/orm project - src/proxy/model/LimitProxy.js/** * @module flitter-orm/src/proxy/model/LimitProxy */const ModelProxy = require('./ModelProxy')/** * Proxy that limits the number of records in the reference's result set. * @extends module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy */class LimitProxy extends ModelProxy {  /**   * Instantiate the proxy   * @param {module:flitter-orm/src/model/Model~Model|module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy} model - proxy ref   * @param {number} limit - the number to limit to   * @param {module:flitter-orm/src/model/CursorBuilder~CursorBuilder} [builder] - optionally, the cursor builder to use   */  constructor(model, limit, builder = undefined) {    super(model, builder)    this._limit = limit    this.builder.limit(limit)  }}module.exports = exports = LimitProxy// from the flitter/orm project - src/proxy/model/LimitProxy.js/** * @module flitter-orm/src/proxy/model/LimitProxy */const ModelProxy = require('./ModelProxy')/** * Proxy that limits the number of records in the reference's result set. * @extends module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy */class LimitProxy extends ModelProxy {  /**   * Instantiate the proxy   * @param {module:flitter-orm/src/model/Model~Model|module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy} model - proxy ref   * @param {number} limit - the number to limit to   * @param {module:flitter-orm/src/model/CursorBuilder~CursorBuilder} [builder] - optionally, the cursor builder to use   */  constructor(model, limit, builder = undefined) {    super(model, builder)    this._limit = limit    this.builder.limit(limit)  }}module.exports = exports = LimitProxy

Hi, there.

My name is Garrett.

I'm a self-taught software developer and speaker.

Hi, there.

My name is Garrett.

I'm a self-taught software developer and speaker.

about me

Hi! My name is Garrett. Welcome to my little corner of the internet. I'm a self-taught developer and tech-nerd. I create software that I hope makes people's lives better. I created the Flitter web framework, and a couple other fun projects. I love to communicate my work, and help others pursue their projects, which is why I've got a long history of sharing about my passion. I write blog posts, create video tutorials, hold talks, and publish code from my projects in the hope that others will find it useful.

A bit more background: I grew up in the rural mid-west, so I taught myself everything I know. I'm a big fan of learning to code this way. I'm currently studying computer science at the University of Kansas.

about me

Hi! My name is Garrett. Welcome to my little corner of the internet. I'm a self-taught developer and tech-nerd. I create software that I hope makes people's lives better. I created the Flitter web framework, and a couple other fun projects. I love to communicate my work, and help others pursue their projects, which is why I've got a long history of sharing about my passion. I write blog posts, create video tutorials, hold talks, and publish code from my projects in the hope that others will find it useful.

A bit more background: I grew up in the rural mid-west, so I taught myself everything I know. I'm a big fan of learning to code this way. I'm currently studying computer science at the University of Kansas.

get in touch

I'd love to hear from you if you have questions or inquiries related to me or my projects. You can get in touch by text, e-mail, or using this form. I also tweet sometimes, and share thoughts on my blog.

E-Mail: shout@garrettmills.dev
Phone: (913) 730-7124

I'd love to hear from you if you have questions or inquiries related to me or my projects. You can get in touch by text, e-mail, or using this form. I also tweet sometimes, and share thoughts on my blog.

E-Mail: shout@garrettmills.dev
Phone: (913) 730-7124

what I've been up to

Side Project

Side Project

My Technical Notes Site

I'm trying to write down or save all the technical tricks, notes, and fixes I find. That way, it's easier for me to find them again in the future, and maybe they can be of use to others.

You can check them out here.

11/29/2020, 9:13:30 AM

Code Release

Code Release

VuES6 - ES6 Vue.js Components, in Plain JavaScript

I recently released a small utility library for defining Vue components as proper ES6 classes, but in vanilla JavaScript. I like to use this in small projects where I don't want to have to set up vue-cli and compile templates. More info here.

4/22/2020, 11:17:15 PM

Code Release

Code Release

flitter-di@0.1

Flitter-DI is the second-generation dependency-injector used by the Flitter framework. It was pulled from the libflitter project in the hope that it can remain independent from the rest of Flitter and can be used in other projects. More info here.

12/19/2019, 9:19:39 PM

Blog Post

Blog Post

How to Code From Home Like a Boss

With the current need to work from home, I've put together a list of tricks and tools I use to do my work as a software developer remotely, and discuss the challenges. Here's what I use.

2020-07-23T09:15:49.731Z

Code Release

Code Release

Feed Page, RSS, & Atom - Minor Website Updates I recently made some tweaks to my website. I added a dedicated page as a historical archive for these updates.

I also added the ability to subscribe to this feed using RSS, Atom, and JSON thanks to a handy NPM package.

2020-05-09T00:30:33.192Z

Side Project

Side Project

Connect-4 Webtoy

I've built a simple Connect-4 webtoy as a project for EECS 368 at the University of Kansas. You can play with it here.

2020-04-08T14:20:25.849Z

Garrett Mills
Copyright © 2020 Garrett Mills