<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Y.P. on Medium]]></title>
        <description><![CDATA[Stories by Y.P. on Medium]]></description>
        <link>https://medium.com/@Y.P.?source=rss-23484be96c54------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jatExDwHMMTDwUsI</url>
            <title>Stories by Y.P. on Medium</title>
            <link>https://medium.com/@Y.P.?source=rss-23484be96c54------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 00:08:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Y.P./feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SAPUI5 and OData V4: Practical examples for CRUD operations]]></title>
            <link>https://medium.com/@Y.P./sapui5-and-odata-v4-practical-examples-for-crud-operations-423c3ba65114?source=rss-23484be96c54------2</link>
            <guid isPermaLink="false">https://medium.com/p/423c3ba65114</guid>
            <category><![CDATA[sapui5]]></category>
            <dc:creator><![CDATA[Y.P.]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 10:06:25 GMT</pubDate>
            <atom:updated>2026-09-08T10:06:25.363Z</atom:updated>
            <content:encoded><![CDATA[<p>This post provides a very brief cheat sheet on CRUD operations.</p><ol><li>Model initialization in <strong>manifest.json</strong></li></ol><p>As an example of OData V4 model let’s take a CAP Bookshop sample project:</p><p>db/schema.cds</p><pre>namespace sap.capire.bookshop;<br><br>entity Books : managed {<br>  key ID   : Integer;<br>  author   : Association to Authors @mandatory;<br>  title    : localized String @mandatory;<br>  descr    : localized String(2000);<br>  genre    : Association to Genres;<br>  stock    : Integer;<br>  price    : Price;<br>  currency : Currency;<br>}<br><br>entity Authors : managed {<br>  key ID       : Integer;<br>  name         : String @mandatory;<br>  dateOfBirth  : Date;<br>  dateOfDeath  : Date;<br>  placeOfBirth : String;<br>  placeOfDeath : String;<br>  books        : Association to many Books on books.author = $self;<br>}<br><br>...</pre><p>srv/admin-service.cds</p><pre>using { sap.capire.bookshop as my } from &#39;../db/schema&#39;;<br><br>service AdminService @(odata:&#39;/admin&#39;) {<br>  entity Authors as projection on my.Authors;<br>  entity Books as projection on my.Books;<br>}</pre><p>As a result, we will use AdminService and work with Books</p><p><a href="http://localhost:4004/admin/Books">http://localhost:4004/admin/Books</a></p><p>Now, we should add our AdminService to manifest.json file:</p><ol><li>1. Add new entity to <strong>dataSources</strong></li></ol><pre>&quot;dataSources&quot;: {<br>    &quot;adminSrv&quot;: {<br>        &quot;uri&quot;: &quot;/admin/&quot;,<br>        &quot;type&quot;: &quot;OData&quot;,<br>        &quot;settings&quot;: {<br>            &quot;odataVersion&quot;: &quot;4.0&quot;<br>        }<br>    },<br>    ... <br>}</pre><ol><li>2. Add new entity to <strong>models </strong>as default model</li></ol><pre>&quot;models&quot;: {<br>    &quot;&quot;: {<br>        &quot;dataSource&quot;: &quot;adminSrv&quot;,<br>        &quot;settings&quot;: {<br>            &quot;synchronizationMode&quot;: &quot;None&quot;,<br>            &quot;operationMode&quot;: &quot;Server&quot;,<br>            &quot;autoExpandSelect&quot;: true,<br>            &quot;earlyRequests&quot;: true,<br>            &quot;groupProperties&quot;: {<br>                &quot;default&quot;: {<br>                    &quot;submit&quot;: &quot;Auto&quot;<br>                }<br>            }<br>        }<br>    },<br>    ...<br> }<br></pre><p>2. Get list of elements via view binding</p><p>Let’s display Books in a table with 2 columns: Title, Description.</p><pre>&lt;Table<br> items=&quot;{ <br>  path: &#39;/Books&#39;, <br>  parameters: { &#39;$count&#39;: true } <br> }&quot; &gt;<br> &lt;columns&gt;<br>   &lt;Column&gt;<br>  &lt;Text text=&quot;Title&quot; /&gt;<br>   &lt;/Column&gt;<br>   &lt;Column&gt;<br>  &lt;Text text=&quot;Description&quot; /&gt;<br>   &lt;/Column&gt;<br> &lt;/columns&gt;<br> &lt;items&gt;<br>   &lt;ColumnListItem type=&quot;Navigation&quot;&gt;<br>  &lt;cells&gt;<br>    &lt;Text <br>   text=&quot;{title}&quot; <br>   emptyIndicatorMode=&quot;On&quot; <br>   textAlign=&quot;End&quot; /&gt;<br>    &lt;Text <br>   text=&quot;{descr}&quot; <br>   emptyIndicatorMode=&quot;On&quot; <br>   textAlign=&quot;End&quot; /&gt;<br>  &lt;/cells&gt;<br>   &lt;/ColumnListItem&gt;<br> &lt;/items&gt;<br>&lt;/Table&gt;</pre><p>Please note <strong>items </strong>property in Table element: we specify that we want to <strong>display Books from default model</strong>.</p><p>3. Get list of elements in a controller</p><p>Now let’s imagine a situation when you cannot specify <strong>items </strong>property in a Table element because of some reason ( for example, it has filter criteria which is built dynamically when user changes page filter).</p><p>In our case, lets add a mandatory filter for author. If user specified it, books should be filtered by author.</p><pre>&lt;f:DynamicPageHeader pinnable=&quot;true&quot;&gt;<br> &lt;f:content&gt;<br>  &lt;fb:FilterBar <br>   id=&quot;filterbar&quot;<br>   search=&quot;.onSearch&quot; &gt;<br>   &lt;fb:filterGroupItems&gt;<br>    &lt;fb:FilterGroupItem <br>     name=&quot;author&quot; <br>     label=&quot;Author&quot; <br>     groupName=&quot;Main&quot; <br>     visibleInFilterBar=&quot;true&quot;<br>     mandatory=&quot;true&quot;&gt;<br>     &lt;fb:control&gt;<br>      &lt;Select<br>       id=&quot;authorFilter&quot;<br>       items=&quot;{/Authors}&quot;<br>       change=&quot;.onSelectionChange&quot;&gt;<br>       &lt;core:Item <br>        key=&quot;{ID}&quot; <br>        text=&quot;{name}&quot;<br>       /&gt;<br>      &lt;/Select&gt;<br>     &lt;/fb:control&gt;<br>    &lt;/fb:FilterGroupItem&gt;<br>   &lt;/fb:filterGroupItems&gt;<br>  &lt;/fb:FilterBar&gt;<br> &lt;/f:content&gt;<br>&lt;/f:DynamicPageHeader&gt;</pre><pre>&lt;Table<br> id=&quot;booksTable&quot;<br>&gt;<br> &lt;columns&gt;<br>   &lt;Column&gt;<br>  &lt;Text text=&quot;Title&quot; /&gt;<br>   &lt;/Column&gt;<br>   &lt;Column&gt;<br>  &lt;Text text=&quot;Description&quot; /&gt;<br>   &lt;/Column&gt;<br> &lt;/columns&gt;<br> &lt;items&gt;<br>   &lt;ColumnListItem <br>      type=&quot;Navigation&quot; <br>      id=&quot;columnListItemTemplate&quot;&gt;<br>      &lt;cells&gt;<br>        &lt;Text <br>           text=&quot;{title}&quot; <br>           emptyIndicatorMode=&quot;On&quot; <br>           textAlign=&quot;End&quot; /&gt;<br>        &lt;Text <br>           text=&quot;{descr}&quot; <br>           emptyIndicatorMode=&quot;On&quot; <br>           textAlign=&quot;End&quot; /&gt;<br>      &lt;/cells&gt;<br>   &lt;/ColumnListItem&gt;<br> &lt;/items&gt;<br>&lt;/Table&gt;</pre><p>Note that now <strong>items </strong>property is not specified for Table element. Also now data in a table will be displayed only when user selected author in the filter bar and clicked <strong>Search </strong>button (search=”.onSearch”).</p><p>Below you can see the code how to bind data to the table:</p><pre>public async onSearch(): Promise&lt;void&gt; {<br> const selectedAuthorId = this.getView().byId(&quot;authorFilter&quot;).getControl().getSelectedKey();<br> const authorFilter = new Filter({ <br>     path: &quot;author_ID&quot;, <br>     operator: FilterOperator.EQ, <br>     value1: selectedAuthorId <br>    });<br>    <br> const table = this.byId(&quot;booksTable&quot;) as Table | undefined;<br> let binding = table?.getBinding(&quot;items&quot;) as ODataListBinding | undefined;<br><br> if (!binding) {<br><br>  const template = this.getView()?.byId(&quot;columnListItemTemplate&quot;)?.clone();<br><br>  table?.bindItems({<br>   path: &quot;/Books&quot;,<br>   template: template,<br>   parameters: {<br>    $count: true<br>   }<br>  });<br><br>  binding = table?.getBinding(&quot;items&quot;) as ODataListBinding;<br> }<br><br> binding.filter(filters);<br> <br>}</pre><p>4. Create new item</p><pre>onCreateItem: function() {<br>    let oModel = this.getView().getModel();<br>    <br>    // 1. Bind to the collection where the item will be added<br>    let oBindList = oModel.bindList(&quot;/Books&quot;);<br><br>    // 2. Create the entry with initial data<br>    let oContext = oBindList.create({<br>        &quot;ID&quot;: 101,<br>        &quot;title&quot;: &quot;New OData V4 Guide&quot;<br>    });<br><br>    // 3. Optional: Wait for the back-end response<br>    oContext.created().then(function() {<br>        // Success: Item created in the back-end<br>        sap.m.MessageToast.show(&quot;Item created successfully!&quot;);<br>    }, function(oError) {<br>        // Error handling<br>    });<br>}</pre><p>5. Update existing item</p><p>In OData V4, updates are typically triggered by modifying a property on a context object. This automatically sends a PATCH request to the server (unless grouped in a batch).</p><pre>const oModel = this.getView().getModel();<br>const oContextBinding = oModel.bindContext(&quot;/Books(&#39;101&#39;)&quot;);<br><br>oContextBinding.getBoundContext().setProperty(&quot;Title&quot;, &quot;Updated Book Title&quot;);</pre><p>6. Delete existing item</p><p>For an entire entity, use the binding context’s delete() method:</p><pre>const oModel = this.getView().getModel();<br>const oContextBinding = oModel.bindContext(&quot;/Books(&#39;101&#39;)&quot;);<br><br>oContextBinding.getBoundContext().delete();</pre><p>7. Delete existing property</p><p>If you want to “remove” Phone, what you actually send depends on your OData service&#39;s semantics.</p><p>For a nullable property, you normally set it to null:</p><pre>const oModel = this.getView().getModel();<br>const oContextBinding = oModel.bindContext(&quot;/Books(&#39;101&#39;)&quot;);<br><br>oContextBinding.getBoundContext().setProperty(&quot;Title&quot;, null);</pre><p>If the property is a string and your backend interprets an empty string as “no value”, you could instead do:</p><pre>oContext.setProperty(&quot;Phone&quot;, &quot;&quot;);</pre><p>8. Get element by ID</p><p>You can create a context binding:</p><pre>const oModel = this.getView().getModel();<br>const oContext = oModel.bindContext(&quot;/Books(&#39;101&#39;)&quot;).getBoundContext();</pre><p>Then request the entity:</p><pre>oContext.requestObject().then((oBook) =&gt; {<br>    console.log(oBook);<br>});</pre><p>9. Trigger action in controller</p><p>Assuming your Authors entity has an ID key, you can define a <strong>bound action</strong> directly on the projected entity.</p><pre>entity Authors as projection on my.Authors {<br>  *,<br>  actions {<br>    action markAsVIP() returns Authors;<br>  }<br>};</pre><p>Suppose the author is:</p><pre>Authors(42)</pre><p>Your service URL is:</p><pre>/admin</pre><p>The bound action’s OData path will conceptually be:</p><pre>/admin/Authors(42)/markAsVIP</pre><p>For SAPUI5 OData V4, create an operation binding and call <strong>invoke()</strong>:</p><pre>const oModel = this.getView().getModel();<br>const oAction = oModel.bindContext(<br>    &quot;/Authors(42)/markAsVIP(...)&quot;<br>);<br>await oAction.invoke();</pre><p>That is it ! We have covered main operations and actions in this post. I hope it is helpful for you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=423c3ba65114" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use com.sap.cds.ql.cqn.Modifier in CAP JAVA application]]></title>
            <link>https://medium.com/@Y.P./how-to-use-com-sap-cds-ql-cqn-modifier-in-cap-java-application-2b752e5b2950?source=rss-23484be96c54------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b752e5b2950</guid>
            <category><![CDATA[sap]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Y.P.]]></dc:creator>
            <pubDate>Thu, 23 Oct 2025 10:55:31 GMT</pubDate>
            <atom:updated>2025-10-23T10:55:31.854Z</atom:updated>
            <content:encoded><![CDATA[<p>How to use com.sap.cds.ql.cqn.Modifier in CAP JAVA application</p><h3>Understanding com.sap.cds.ql.cqn.Modifier in CAP Java</h3><p>In the Java variant of the SAP Cloud Application Programming Model (CAP) — Java (CAP) framework, query-operations against the data model use the CDS Query Notation (CQN) API (in the package com.sap.cds.ql.cqn). One of the interfaces provided in that API is <strong>com.sap.cds.ql.cqn.Modifier</strong> (and the related interface CqnModifier) which allows you to programmatically <em>copy and modify</em> CQN statements prior to execution.</p><h3>What is the Modifier?</h3><p>The Modifier interface (in com.sap.cds.ql.cqn.Modifier) is described in the Javadoc as:</p><blockquote><strong>Provider interface for modifying CQN Predicates, Values and Statements copied with CQL.copy.</strong></blockquote><p>In other words: when you build a query, you can pass a Modifier implementation that is invoked during the traversal/duplication of the original query structure, and you can override certain callback methods to alter parts of the query — e.g., change the where predicate, change references, add or remove select items, alter order by, etc.</p><p>There is also a legacy interface <strong>CqnModifier </strong>which extends Modifier and is marked <strong>deprecated</strong>.</p><p>The typical workflow: you have a CqnSelect, CqnUpdate, CqnDelete, etc., built already. You call something like</p><blockquote>CqnSelect copy = CQL.copy(originalQuery, myModifier);</blockquote><p>The <strong>myModifier </strong>is your implementation of Modifier, which can override methods like <strong>where(…)</strong>, <strong>comparison(…)</strong>, <strong>ref(…)</strong>, <strong>items(…)</strong>, <strong>orderBy(…)</strong> to change parts of the query.</p><p>Thus, Modifier is a hook to dynamically alter an existing CQN statement (rather than building a fresh one from scratch) — which can be very useful if you want to apply cross-cutting filters, runtime parameters, dynamic adjustments or reuse parts of queries.</p><h3>What possibilities does it provide?</h3><p>By using Modifier, you gain several possibilities:</p><ul><li><strong>Reuse of query templates</strong>: Suppose you built a base query (selecting from an entity, some fixed columns, maybe some base filter). Then at runtime you can make a copy and add or change parts like extra filter conditions, or different ordering, without rewriting the full query.</li><li><strong>Dynamic filter injection</strong>: For example, apply multitenancy filters, user-based restrictions, or additional where clauses based on context (e.g., currently logged in user’s company). With a Modifier, you can intercept the where clause and add more conditions.</li><li><strong>Reference transformation</strong>: You may want to change the target entity or alias, or apply additional joins/compositions by modifying references (ref(…) callback) so that the same base query works with slight variations. For example, add a filter on year, or alias some element differently.</li><li><strong>Select list manipulation</strong>: You might want to remove or add columns dynamically, change the projected fields. The items(…) callback allows adjusting the select-list.</li><li><strong>Ordering adaptation</strong>: You can supplement or override the order by clause via orderBy(…). E.g., add ORDER BY title DESC if not present.</li><li><strong>Comparison / predicate modification</strong>: For specific predicates you can override comparison(…) to change values or operators. For example replace all title = ‘X’ to ‘Y’.</li><li><strong>Deep copy + transformation</strong>: The original query remains unchanged; you get a modified copy. Helpful in frameworks where you build base queries and then apply context-specific modifications.</li><li><strong>Parameterization</strong>: While not strictly the Modifier itself, when you use the CQN API you can build parameterised queries and then via a Modifier you can decide to switch parameter values, or substitute constants.</li></ul><h3>How it can be used in a CAP Java application</h3><p>Here’s a step-by-step how you might integrate Modifier into a CAP Java handler or service logic.</p><p><strong>Import the CQN builder / utility classes</strong></p><blockquote>import com.sap.cds.ql.CQL;</blockquote><blockquote>import com.sap.cds.ql.cqn.CqnSelect;</blockquote><blockquote>import com.sap.cds.ql.cqn.Modifier;</blockquote><blockquote>// plus other imports</blockquote><ol><li><strong>Build base query</strong></li></ol><p>Within your service handler (for example in a @On annotated method) you might build a query like:</p><blockquote>CqnSelect query = Select.from(BOOKS).where(b -&gt; b.stock().gt(0));</blockquote><p><strong>2. Define a Modifier implementation</strong></p><p>For example:</p><blockquote>Modifier myModifier = new Modifier() {</blockquote><blockquote>@Override</blockquote><blockquote>public Predicate where(Predicate where) {</blockquote><blockquote>// add additional filter: only books published after 2020</blockquote><blockquote>return CQL.and(where, CQL.get(“year”).gt(2020));</blockquote><blockquote>}</blockquote><blockquote>@Override</blockquote><blockquote>public List&lt;CqnSelectListItem&gt; items(List&lt;CqnSelectListItem&gt; items) {</blockquote><blockquote>// add author name to projection</blockquote><blockquote>items.add(CQL.get(“author”).to(“name”));</blockquote><blockquote>return items;</blockquote><blockquote>}</blockquote><blockquote>};</blockquote><p><strong>3. Copy the query with the modifier</strong></p><blockquote>CqnSelect modifiedQuery = CQL.copy(query, myModifier);</blockquote><p><strong>4. Execute the modified query via the datastore/persistence service</strong></p><blockquote>List&lt;MyBook&gt; results = dataStore.run(modifiedQuery).listOf(MyBook.class);</blockquote><p><strong>Why do this?</strong></p><p>Perhaps this is part of a generic service which applies additional filters based on current user’s region, or you have a REST endpoint that accepts “filterAfterYear” parameter and you dynamically inject that via a Modifier rather than rewriting query logic in many places.</p><h3>Real-world examples</h3><p>Let’s craft a complete example, in the context of a CAP Java app for a bookshop.</p><h4>Domain &amp; setup</h4><p>Assume you have a CDS-modelled entity Books with fields: ID, title, year, stock, author.name, price. And a simple service.</p><h4>Use-case</h4><p>Suppose you want a service endpoint “GetAvailableBooks” which by default returns all books with stock &gt; 0. But optionally you also allow a query parameter minYear (e.g., only books published after that year). Rather than build two separate queries, you build one base query and use Modifier to optionally inject the year-filter.</p><h4>Code sketch</h4><blockquote>@Service</blockquote><blockquote>public class BookService {</blockquote><blockquote>@Autowired</blockquote><blockquote>PersistenceService db;</blockquote><blockquote>@On(event = “GetAvailableBooks”, entity = Books_.CDS_NAME)</blockquote><blockquote>public List&lt;Book&gt; handleGetAvailableBooks(EventContext context) {</blockquote><blockquote>// build base query</blockquote><blockquote>CqnSelect base = Select.from(Books_.class)</blockquote><blockquote>.columns(b -&gt; b.ID(), b -&gt; b.title(), b -&gt; b.year(), b -&gt; b.stock(), b -&gt; b.author().name())</blockquote><blockquote>.where(b -&gt; b.stock().gt(0));</blockquote><blockquote>// check for optional minYear param</blockquote><blockquote>String sMinYear = (String) context.get(“minYear”);</blockquote><blockquote>CqnSelect query = base;</blockquote><blockquote>if (sMinYear != null) {</blockquote><blockquote>int minYear = Integer.parseInt(sMinYear);</blockquote><blockquote>Modifier mod = new Modifier() {</blockquote><blockquote>@Override</blockquote><blockquote>public Predicate where(Predicate where) {</blockquote><blockquote>return CQL.and(where, CQL.get(“year”).ge(minYear));</blockquote><blockquote>}</blockquote><blockquote>};</blockquote><blockquote>query = CQL.copy(base, mod);</blockquote><blockquote>}</blockquote><blockquote>return db.run(query).listOf(Book.class);</blockquote><blockquote>}</blockquote><blockquote>}</blockquote><h4>Explanation</h4><ul><li>We build a base query selecting Books with stock &gt; 0.</li><li>If the request parameter minYear is present, we create a Modifier that appends an additional predicate year &gt;= minYear.</li><li>Using CQL.copy we obtain a modified query.</li><li>We execute whichever query (base or modified).</li><li>The advantage: the base query logic (columns, entity, base filter) is defined only once. Extra filtering logic is modular and injected when needed.</li><li>Similarly you could extend it with more Modifier methods: e.g., orderBy to sort by price descending if a sort parameter is present, or items to include additional fields dynamically.</li></ul><h3>Tips and caveats</h3><ul><li>Because you’re modifying via copy, the original CQN remains unchanged — useful if re-using it in several contexts.</li><li>You need to be careful about logic: if the original query had no where clause, Modifier.where() receives null (or an empty predicate) — you should guard accordingly.</li><li>Inline modifications may reduce readability if over-used; use when the modification logic is truly dynamic/common.</li><li>Make sure your import is correct: com.sap.cds.ql.CQL and com.sap.cds.ql.cqn.Modifier.</li><li>Note: In some versions, use of CqnModifier is deprecated — prefer Modifier.</li><li>When you modify references (via ref(…)), you may change entity or element references; that should be done with care as it may affect aliasing or runtime SQL generation.</li><li>If you rely on code-generation for your entities (via CDS → Java), make sure the field names you use in CQL.get(“year”) match the element names in the model.</li><li>Performance: constructing modified queries in runtime may have a slight overhead, but in typical service scenarios this is negligible.</li></ul><h3>Working Across Multiple Microservices</h3><p>In my personal experience, we use com.sap.cds.ql.cqn.Modifier extensively in scenarios where <strong>multiple CAP Java microservices</strong> are involved. A common case is when <strong>Service A</strong> needs to send CQN requests to <strong>Service B</strong>, and both services share <em>almost identical but not completely matching</em> data models.</p><p>For example, imagine Service A and Service B both have an entity representing “Products,” but with slight differences in field names or structure. When Service A needs to aggregate or combine data from both services, we often start with a base query from one service and then use a Modifier to adapt it before sending it to the other.</p><p>This adaptation typically involves replacing or transforming:</p><ul><li><strong>References</strong> — mapping entity or element names that differ between models</li><li><strong>Items</strong> — adjusting the select list to match the target service’s schema</li><li><strong>Filters / Predicates</strong> — adding or modifying where clauses to align with business context</li><li><strong>Comparisons</strong> — tweaking value comparisons or operators to reflect the other model’s semantics</li></ul><p>By doing this, we can reuse the same query logic across services without hard-coding model-specific changes. It keeps the integration layer clean and dynamic — we simply copy the base CQN and use the Modifier to adapt it to the remote service’s model at runtime.</p><h3>Summary</h3><p>The Modifier interface in the CAP Java CQN API gives you a powerful way to dynamically adapt query statements (select, update, delete) by copying and altering components such as predicates, select-lists, ordering, references. This supports reuse of base query templates and cleaner, centralized logic for context-based filtering (such as multi-tenant or user-based restrictions). The key steps are: build base CQN, define your Modifier, call CQL.copy(…), then execute the resulting query. Use cases include adding runtime filters, dynamic projections, sorting, or aliasing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b752e5b2950" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What type of self-esteem do you have?]]></title>
            <link>https://medium.com/women-write/what-type-of-self-esteem-do-you-have-8866a1ea7bdf?source=rss-23484be96c54------2</link>
            <guid isPermaLink="false">https://medium.com/p/8866a1ea7bdf</guid>
            <dc:creator><![CDATA[Y.P.]]></dc:creator>
            <pubDate>Wed, 08 Oct 2025 12:38:27 GMT</pubDate>
            <atom:updated>2025-10-08T12:59:09.016Z</atom:updated>
            <content:encoded><![CDATA[<h4>It’s not just about overestimated, underestimated, or adequate self-esteem.</h4><h4>Let’s figure out which type you have and what you can do about it</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*bjZ0gwsmHWAMuj8P1t2-tQ.png" /><figcaption>AI Generated Image</figcaption></figure><p>Recently, I read a very insightful book, <em>7 Steps to Stable Self-Esteem</em> by Boris Litvak, and I’d like to share some key takeaways with you.</p><p>When people think about self-esteem, they usually imagine three categories: overestimated, underestimated, and adequate.<br>But the real question is — what can you actually do with that knowledge?</p><p>Let’s go a little deeper and explore the difference between <strong>stable</strong> and <strong>unstable</strong> self-esteem.</p><h3>The Tomas Example</h3><p>Tomas is a good guy who, by the age of 34, has achieved a lot: a loving wife, children, his own apartment, and a solid career. He feels content with his life.</p><p>But today, he met his old college friend Jorge — a millionaire with a private jet and a supermodel wife. After just five minutes of conversation, Tomas suddenly felt like a loser, as if he’d achieved nothing at all. Yet in reality, nothing about his life had changed in those five minutes.</p><p>Have you ever experienced something similar? You feel fine, but after scrolling through social media and liking a few photos of your friends, your mood and self-esteem take a sudden hit. That state can last from a few hours to a few days.</p><p>That’s a clear sign of <strong>unstable self-esteem</strong>: the moment you compare yourself with someone seemingly more successful, you feel inadequate and dissatisfied.</p><h3>What Stable Self-Esteem Looks Like</h3><p>With <strong>stable self-esteem</strong>, situations like these don’t shake you as much. Your mood stays relatively even. You might feel a brief pang of envy, but it passes quickly. Your sense of worth remains intact.</p><h3>The Foundation of Self-Esteem</h3><p>The foundation is your base belief about yourself:</p><ul><li>In <strong>unstable self-esteem</strong>, the core feeling is <em>“I am not enough.”</em><br> Something feels wrong with me — but under certain conditions, I can prove to myself (and others) that I’m okay.</li><li>In <strong>stable self-esteem</strong>, the foundation is <em>“I am plus.”</em><br> It’s a steady sense that <em>“I am okay”</em> that doesn’t need constant proof or external validation.</li></ul><p>So, the difference isn’t how <em>high</em> your self-esteem is, but how <em>dependent</em> it is on external events — how stable or reactive it is.</p><h3>The Three Subtypes of Unstable Self-Esteem</h3><p>Depending on what triggers fluctuations, unstable self-esteem can take several forms:</p><ul><li><strong>“I am + if I am the best”</strong></li><li><strong>“I am + if I please others”</strong></li><li><strong>“I am + if I am strong”</strong></li></ul><p>These are the hidden conditions that make our self-worth fragile.</p><h3>Stability as the Goal: Rebuilding the Foundation</h3><p>The goal isn’t to <em>boost</em> self-esteem temporarily — it’s to <strong>stabilize</strong> it by reworking the foundation.</p><p>Here’s how:</p><ol><li><strong>Recognize your conditional criteria</strong> — identify the “if” in your “I am + if…” statement.</li><li><strong>Challenge your core belief</strong> — transform “I am –” into “I am +.”</li><li><strong>Build internal supports</strong> — strengthen your sense of worth so it’s less dependent on external validation or comparison.</li></ol><p>When you build that inner stability, your self-esteem becomes less reactive, more grounded, and truly your own.</p><p>If this topic resonates with you, I highly recommend reading Boris Litvak’s <em>7 Steps to Stable Self-Esteem</em>. It offers a deep understanding of these mechanisms and practical exercises to help you build genuine inner confidence.</p><p>Thank you for reading.😊</p><p>This article is published in Women Write Publication. A growing, strong community built by women for women. All thoughts are welcome.</p><p>To join this community, read these submission guidelines.</p><p><a href="https://medium.com/women-write/submission-guidelines-for-women-write-publication-864c067b4d2d">Submission Guidelines for Women Write Publication</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8866a1ea7bdf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/women-write/what-type-of-self-esteem-do-you-have-8866a1ea7bdf">What type of self-esteem do you have?</a> was originally published in <a href="https://medium.com/women-write">Women Write</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>