Mr.Trunk · @mrtrunk
12 followers · 20716 posts · Server dromedary.seedoubleyou.me
Mathew Attlee · @codeinabox
41 followers · 125 posts · Server hachyderm.io

So after scratching my head for hours trying to understand why wasn't returning any records when I was filtering by date, it turns it doesn't do a good job of handling dates. 😒 In the end, I had to resort to using a raw query github.com/prisma/prisma/discu

#prisma #orm #sqlite

Last updated 1 year ago

Mathew Attlee · @codeinabox
41 followers · 125 posts · Server hachyderm.io

So after scratching my head for hours trying to understand why wasn't returning all records when I was filtering by date, it turns it doesn't do a good job of handling dates. 😒 In the end, I had to resort to using a raw query github.com/prisma/prisma/discu

#prisma #orm #sqlite

Last updated 1 year ago

Nicolas Fränkel · @frankel
865 followers · 1099 posts · Server mastodon.top
BlogInnovazione · @BlogInnovazione
1 followers · 44 posts · Server mastodon.uno

Cos'è Laravel, come funziona e architettura di base per la creazione di applicazioni WEB
Laravel è un framework Web basato su PHP per la creazione di applicazioni Web di fascia alta, ...

bloginnovazione.it/laravel-php

#framework #laravel #mvc #orm #php

Last updated 1 year ago

Stéphane Klein · @stephane_klein
151 followers · 462 posts · Server mamot.fr

J'ai l'impression que je partage la même préférence que Riss Harris (auteur de ) : plutôt que

twitter.com/Rich_Harris/status

#svelte #rawsql #orm

Last updated 1 year ago

Emacsen · @emacsen
1524 followers · 9455 posts · Server emacsen.net

A bit of a programmer rant...

People wonder why I like ORMs even when they're unnecessary. Firstly, I've never liked SQL. I think that writing queries to a RDBMS is something that a computer should do, akin to compilation. In the few times when extreme optimization is warranted, low level code can be generated to suit that specific case. In other times, ORMs usually provide a more natural interface to data that increases readability and code flow.

1/2

#orm #databases #sql #rant #programming

Last updated 1 year ago

stark@techhub:~$ █ · @Stark9837
448 followers · 2356 posts · Server techhub.social

@psFried @vwbusguy

I've been spoiled by and honestly I haven't even noticed differences between and other databases.

#orm #postgress

Last updated 1 year ago

stark@techhub:~$ █ · @Stark9837
447 followers · 2329 posts · Server techhub.social

A fun experiment I am in the mood to try is to take my entire implementation of my code running in and just replacing it with .

I currently can't imagine any advantages, I mean, come on, it's Redis. But I just thought it would be a fun experiment to try. An IPFS implementation would allow for transaparency of user data, which is stored with decentralized storage similar to .

Although the same propogation of network data with wouldn't be the same and the native security and encryption of gunDB would be nice, I just want to mess around with the idea.

With Redis, relationships between sets are created with primary and secondary keys and referencing other records. But IPFS could give the same behavior as a standard and something like .

Also, I've wanted to benchmark IPFS for such usage before and because I know the Redis speeds now, 15k commands/s, this would be interesting to see even just in Docker and on my LAN network.

#Redis #docker #ipfs #gundb #orm #sql

Last updated 1 year ago

stark@techhub.social:~$ █ · @Stark9837
417 followers · 2207 posts · Server techhub.social

@lsmith

In memory is also a good option. I like sqlite because there are great tools like which allows you to have features, but if it is simple I would just go with the built-in libraries to improve performance.

I also like sqlite with , as I have the simplicity of a sqlite database, but I can easily share it with containers with mounts and persist the data during development and production.

also has greay extensions for viewing sqlite databases, making it a glorified csv with advanced query capabilities.

#sqlite #sqlalchemy #orm #docker #vscode

Last updated 1 year ago

stark@techhub.social:~$ █ · @Stark9837
397 followers · 2111 posts · Server techhub.social

@orsinium

I prefer to use something more popular, that the support is better. The docs of are a bit odd. I found myself getting stuck after the tutorial, like you said. It seems 2.0 documentation isn't the best with the new declarative style, but I found some other resources, and I am diving into code I found on to see how others did it.

is cool, but the names like that always turn me off. I need serious names for libraries I use, I don't know. But I can see that it had great influence from modern styles, so it might be better for people coming from that.

Thanks for the info!

#sqlalchemy #github #peewee #js #orm #python

Last updated 1 year ago

stark@techhub.social:~$ █ · @Stark9837
397 followers · 2111 posts · Server techhub.social

@setebos

I am aware of the limitations, but I am far below them. I want to project to be easily deployable by others and then the usage will also be low enough for it to suffice.

feels a lot like the web-development that you get for and , but I like , the docs also seem good.

#peewee #orm #react #js #sqlalchemy

Last updated 1 year ago

stark@techhub.social:~$ █ · @Stark9837
397 followers · 2111 posts · Server techhub.social

What is your favorite for and ? I am currently looking for an ORM judt to sinplify my implementation.

I am considering going for SQLite because the writes and reads are low, and the total size will also be a few 100 records, but I want the strengths of SQL. Also, I am running it in , so it simplifies the deployment.

I am looking at and also saw on .

This is the first time I am doing something like this. Normally, my data is simply printed to CSV files.

#python #orm #sql #sqlite #docker #sqlalchemy #peewee #github

Last updated 1 year ago

Mendip.net · @mendip
3 followers · 2183 posts · Server airwaves.social

ICAO: 407D02
Flt: GICER -
First seen: 2023/07/15 12:27:56
Min Alt: 1175 ft MSL
Min Dist: 9.91 mi


flightaware.com/live/modes/407

#ceg #orm #planefence #adsb #mendip

Last updated 1 year ago

gram · @orsinium
76 followers · 263 posts · Server fosstodon.org

@justindz @RethinkJeff Most people use as but it can be hard to grasp sometimes. There are many ways to do the same thing and the documentation is a mess. Still, I don't know other alternatives with as good support for async and typing. Plus, it's popularity means lots of tutorials.

If you still want to try alternatives, I listed some of them here:
t.me/itgram_channel/581

#sqlalchemy #python #orm

Last updated 1 year ago

gram · @orsinium
67 followers · 231 posts · Server fosstodon.org

I might actually get something useful out of it. The same reflection on fields allows to make type-safe conditions, which is rare for Go ORMs. In the example below, type checker knows that the field `user.age` is int and requires the second argument also be an int. Finally, a place where generics do fit and help.

#golang #orm

Last updated 1 year ago

gram · @orsinium
51 followers · 172 posts · Server fosstodon.org

Despite a failure to do anything good with generics, I found an interesting hack (with reflection and unsafe pointer comparison) when you can directly pass struct fields to be used in queries.

I wonder if that can be useful in practice. I like that you can press "go to references" on the field in IDE and find all queries that fetch the field.

#golang #orm

Last updated 1 year ago

gram · @orsinium
46 followers · 159 posts · Server fosstodon.org

Would you folks be interested in a type-safe that uses generics instead of code generation or reflection? I have a few ideas, but I'm not sure if Go really needs yet another ORM.

#golang #orm

Last updated 1 year ago

eliza-ng · @elizang
8 followers · 142 posts · Server botsin.space

Discover the roller coaster ride of ORM in Java with its pros and cons in our latest blog post!
eliza-ng.me/post/ormsql/

#java #orm #lovehaterelationship

Last updated 1 year ago